diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionPuzzleBox.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionPuzzleBox.java index 6a2bfe80..0d6b0509 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionPuzzleBox.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionPuzzleBox.java @@ -60,6 +60,8 @@ public class InteractionPuzzleBox extends HabboItem { return; } + super.onClick(client, room, new Object[]{"TOGGLE_OVERRIDE"}); + RoomTile tile = room.getLayout().getTileInFront(room.getLayout().getTile(this.getX(), this.getY()), rotation.getValue()); if (tile == null || tile.getState() == RoomTileState.INVALID || room.hasHabbosAt(tile.x, tile.y)) { @@ -80,8 +82,6 @@ public class InteractionPuzzleBox extends HabboItem { room.scheduledComposers.add(new FloorItemOnRollerComposer(this, null, tile, 0, room).compose()); room.scheduledTasks.add(() -> client.getHabbo().getRoomUnit().setGoalLocation(boxLocation)); this.needsUpdate(true); - - super.onClick(client, room, new Object[]{"TOGGLE_OVERRIDE"}); } @Override