This commit is contained in:
KrewsOrg 2020-03-13 14:50:15 +00:00
commit 38f09b3313

View File

@ -761,6 +761,8 @@ public class RoomUnit {
}
public RoomTile getClosestAdjacentTile(short x, short y, boolean diagonal) {
if(room == null) return null;
RoomTile baseTile = room.getLayout().getTile(x, y);
if (baseTile == null) return null;