From 653f6113230223ed65294edcda75609a2520271b Mon Sep 17 00:00:00 2001 From: KrewsOrg Date: Wed, 5 Feb 2020 21:23:27 +0000 Subject: [PATCH] Fix for height in MoveRotateFurni - Credits to Skeletor for the overhaul. --- .../interactions/wired/effects/WiredEffectMoveRotateFurni.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectMoveRotateFurni.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectMoveRotateFurni.java index 5cd5d734..ae37a0f3 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectMoveRotateFurni.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectMoveRotateFurni.java @@ -138,7 +138,7 @@ public class WiredEffectMoveRotateFurni extends InteractionWiredEffect { if(this.rotation > 0) { item.setX(newTile.x); item.setY(newTile.y); - item.setZ(offset); + item.setZ(item.getZ() + offset); room.sendComposer(new FloorItemUpdateComposer(item).compose()); for (RoomTile t : tilesToUpdate) { room.updateHabbosAt(t.x, t.y);