mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-02 13:35:33 +02: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));
|
roomUnit.setZ(topItem.getZ() + Item.getCurrentHeight(topItem));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (topItem.getBaseItem().allowSit())
|
||||||
|
{
|
||||||
|
roomUnit.setZ(topItem.getZ());
|
||||||
|
}
|
||||||
roomUnit.setPreviousLocationZ(roomUnit.getZ());
|
roomUnit.setPreviousLocationZ(roomUnit.getZ());
|
||||||
roomUnit.setPathFinderRoom(room);
|
roomUnit.setPathFinderRoom(room);
|
||||||
roomUnit.setRoomUnitType(RoomUnitType.BOT);
|
roomUnit.setRoomUnitType(RoomUnitType.BOT);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user