diff --git a/src/main/java/com/github/tartaricacid/touhoulittlemaid/init/registry/MobSpawnInfoRegistry.java b/src/main/java/com/github/tartaricacid/touhoulittlemaid/init/registry/MobSpawnInfoRegistry.java index 0758fed91..ff48d6ec9 100644 --- a/src/main/java/com/github/tartaricacid/touhoulittlemaid/init/registry/MobSpawnInfoRegistry.java +++ b/src/main/java/com/github/tartaricacid/touhoulittlemaid/init/registry/MobSpawnInfoRegistry.java @@ -31,7 +31,7 @@ public static void addMobSpawnInfo(LevelEvent.PotentialSpawns event) { if (event.getMobCategory() == MobCategory.MONSTER && dimensionIsOkay(dimension)) { List spawnerData = event.getSpawnerDataList(); boolean canZombieSpawn = spawnerData.stream().anyMatch(data -> data.type.equals(EntityType.ZOMBIE)); - if (SPAWNER_DATA == null) { + if (SPAWNER_DATA == null || SPAWNER_DATA.getWeight().asInt() != spawnProbability) { SPAWNER_DATA = new MobSpawnSettings.SpawnerData(InitEntities.FAIRY.get(), spawnProbability, 2, 4); } if (canZombieSpawn) {