Fix for height in MoveRotateFurni - Credits to Skeletor for the overhaul.

This commit is contained in:
KrewsOrg 2020-02-05 21:23:27 +00:00
parent ed13fa9567
commit 653f611323

View File

@ -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);