🆙 Small fix for the update tile

This commit is contained in:
duckietm
2026-03-17 14:08:33 +01:00
parent 90cd622c89
commit 70cc69b22a
@@ -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());