This commit is contained in:
Alejandro 2019-05-15 15:25:29 -04:00
parent ea5811800d
commit 6f0c2fa8aa

View File

@ -1937,6 +1937,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable
//int tileHeight = this.layout.getTile(topItem.getX(), topItem.getY()).z; //int tileHeight = this.layout.getTile(topItem.getX(), topItem.getY()).z;
unit.setStatus(RoomUnitStatus.SIT, (Item.getCurrentHeight(topItem) * 1.0D) + ""); unit.setStatus(RoomUnitStatus.SIT, (Item.getCurrentHeight(topItem) * 1.0D) + "");
unit.setPreviousLocationZ(topItem.getZ()); unit.setPreviousLocationZ(topItem.getZ());
unit.setZ(topItem.getZ());
unit.setRotation(RoomUserRotation.values()[topItem.getRotation()]); unit.setRotation(RoomUserRotation.values()[topItem.getRotation()]);
unit.sitUpdate = false; unit.sitUpdate = false;
return true; return true;