From 5fc205f310f0503b8b92c564e84308aa64175335 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Mon, 28 Sep 2020 19:11:48 +0200 Subject: [PATCH] Update StructureLoader.kt --- src/main/kotlin/net/axay/kspigot/structures/StructureLoader.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/net/axay/kspigot/structures/StructureLoader.kt b/src/main/kotlin/net/axay/kspigot/structures/StructureLoader.kt index 5d72902d..9efa9e41 100644 --- a/src/main/kotlin/net/axay/kspigot/structures/StructureLoader.kt +++ b/src/main/kotlin/net/axay/kspigot/structures/StructureLoader.kt @@ -43,7 +43,7 @@ val LocationArea.fillBlocks: Set get() val LocationArea.entities: Set get() = HashSet().apply { touchedChunks.forEach { it.entities.forEach { en -> - if (locationPair.isInArea(en.location)) + if (simpleLocationPair.isInArea(en.location)) this += en } } } \ No newline at end of file