You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-19 15:06:19 +00:00
🆙 Small fix for the update tile
This commit is contained in:
@@ -165,15 +165,15 @@ public class RebugKickBallAction implements Runnable {
|
||||
this.dead = true;
|
||||
}
|
||||
|
||||
this.room.updateTile(oldTile);
|
||||
this.room.updateTile(nextTile);
|
||||
|
||||
THashSet<HabboItem> oldItems = this.room.getItemsAt(oldTile);
|
||||
if (oldItems != null && !oldItems.isEmpty()) {
|
||||
oldItems.remove(this.ball);
|
||||
}
|
||||
this.room.getItemsAt(nextTile).add(this.ball);
|
||||
|
||||
this.room.updateTile(oldTile);
|
||||
this.room.updateTile(nextTile);
|
||||
|
||||
this.room.sendComposer(new FloorItemOnRollerComposer(
|
||||
this.ball, null, oldTile, oldZ, nextTile, this.ball.getZ(), 0.0D, this.room
|
||||
).compose());
|
||||
|
||||
Reference in New Issue
Block a user