mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-02-17 03:02:35 +01:00
Lol. Fixed Bots on Chairs when they're on higher room tiles.
This commit is contained in:
parent
586ed03d9d
commit
125164d3cd
@ -149,6 +149,11 @@ public class BotManager
|
||||
{
|
||||
roomUnit.setZ(topItem.getZ() + Item.getCurrentHeight(topItem));
|
||||
}
|
||||
|
||||
if (topItem.getBaseItem().allowSit())
|
||||
{
|
||||
roomUnit.setZ(topItem.getZ());
|
||||
}
|
||||
roomUnit.setPreviousLocationZ(roomUnit.getZ());
|
||||
roomUnit.setPathFinderRoom(room);
|
||||
roomUnit.setRoomUnitType(RoomUnitType.BOT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user