mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Fix for height in MoveRotateFurni - Credits to Skeletor for the overhaul.
This commit is contained in:
parent
ed13fa9567
commit
653f611323
@ -138,7 +138,7 @@ public class WiredEffectMoveRotateFurni extends InteractionWiredEffect {
|
|||||||
if(this.rotation > 0) {
|
if(this.rotation > 0) {
|
||||||
item.setX(newTile.x);
|
item.setX(newTile.x);
|
||||||
item.setY(newTile.y);
|
item.setY(newTile.y);
|
||||||
item.setZ(offset);
|
item.setZ(item.getZ() + offset);
|
||||||
room.sendComposer(new FloorItemUpdateComposer(item).compose());
|
room.sendComposer(new FloorItemUpdateComposer(item).compose());
|
||||||
for (RoomTile t : tilesToUpdate) {
|
for (RoomTile t : tilesToUpdate) {
|
||||||
room.updateHabbosAt(t.x, t.y);
|
room.updateHabbosAt(t.x, t.y);
|
||||||
|
Loading…
Reference in New Issue
Block a user