diff --git a/mobzy-spawning/src/main/kotlin/com/mineinabyss/mobzy/spawning/SpawnRegistry.kt b/mobzy-spawning/src/main/kotlin/com/mineinabyss/mobzy/spawning/SpawnRegistry.kt index 1e8db784..acf4286e 100644 --- a/mobzy-spawning/src/main/kotlin/com/mineinabyss/mobzy/spawning/SpawnRegistry.kt +++ b/mobzy-spawning/src/main/kotlin/com/mineinabyss/mobzy/spawning/SpawnRegistry.kt @@ -28,7 +28,7 @@ class SpawnRegistry { fun reloadSpawns() { unregisterSpawns() spawnConfigsQuery.matchedEntities.forEach { - prefabLoader.reread(it) + prefabLoader.reload(it) } }