mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Fix #79
This commit is contained in:
parent
ea5811800d
commit
6f0c2fa8aa
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user