Update StructureLoader.kt

This commit is contained in:
bluefireoly
2020-09-28 19:11:48 +02:00
parent 9229d52a85
commit 5fc205f310

View File

@@ -43,7 +43,7 @@ val LocationArea.fillBlocks: Set<Block> get()
val LocationArea.entities: Set<Entity> get()
= HashSet<Entity>().apply {
touchedChunks.forEach { it.entities.forEach { en ->
if (locationPair.isInArea(en.location))
if (simpleLocationPair.isInArea(en.location))
this += en
} }
}