mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Fixed Bots floating on chairs. Still need to do Rotation.
This commit is contained in:
parent
450dbdd65f
commit
adc4c85df6
@ -144,7 +144,8 @@ public class BotManager
|
||||
roomUnit.setRotation(RoomUserRotation.SOUTH);
|
||||
roomUnit.setLocation(location);
|
||||
HabboItem topItem = room.getTopItemAt(location.x, location.y);
|
||||
if (topItem != null)
|
||||
|
||||
if (topItem != null && !topItem.getBaseItem().allowSit())
|
||||
{
|
||||
roomUnit.setZ(topItem.getZ() + Item.getCurrentHeight(topItem));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user