mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-06-30 12:45:34 +02:00
Fix issue #934
This commit is contained in:
parent
0fc9760894
commit
dc8c0e0bcb
|
@ -1506,6 +1506,11 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||
if (unit.hasStatus(RoomUnitStatus.SIT)) {
|
||||
unit.sitUpdate = true;
|
||||
}
|
||||
|
||||
unit.setPreviousLocation(unit.getPreviousLocation());
|
||||
unit.setPreviousLocationZ(unit.getPreviousLocation().getStackHeight());
|
||||
unit.setCurrentLocation(this.getLayout().getTile(tile.x, tile.y));
|
||||
unit.setZ(unit.getCurrentLocation().getStackHeight());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user