Merge pull request #13 from duckietm/Dev

Dev
This commit is contained in:
DuckieTM
2026-03-17 14:21:41 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -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());