Fix placing bots

This commit is contained in:
Alejandro 2020-02-27 23:59:27 +02:00
parent 8adb814f66
commit a8f3829216

View File

@ -113,7 +113,7 @@ public class BotManager {
return;
}
if (!room.hasHabbosAt(location.x, location.y) && !location.isWalkable() && location.state != RoomTileState.SIT && location.state != RoomTileState.LAY)
if (room.hasHabbosAt(location.x, location.y) || (!location.isWalkable() && location.state != RoomTileState.SIT && location.state != RoomTileState.LAY))
return;
RoomUnit roomUnit = new RoomUnit();