Oops
This commit is contained in:
parent
2a4b5ffb03
commit
74937b15ac
@ -70,7 +70,7 @@ data class ObjectOrientation(
|
|||||||
val cell = world.chunkMap.getCell(it + position)
|
val cell = world.chunkMap.getCell(it + position)
|
||||||
//if (!cell.foreground.material.isEmptyTile) println("not empty tile: ${it + position}, space $it, pos $position")
|
//if (!cell.foreground.material.isEmptyTile) println("not empty tile: ${it + position}, space $it, pos $position")
|
||||||
//if (cell.dungeonId in world.protectedDungeonIDs) println("position is protected: ${it + position}")
|
//if (cell.dungeonId in world.protectedDungeonIDs) println("position is protected: ${it + position}")
|
||||||
cell.foreground.material.isEmptyTile && (ignoreProtectedDungeons || world.isDungeonIDProtected(cell.dungeonId))
|
cell.foreground.material.isEmptyTile && (ignoreProtectedDungeons || !world.isDungeonIDProtected(cell.dungeonId))
|
||||||
}
|
}
|
||||||
|
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user