diff --git a/src/main/java/world/bentobox/acidisland/AcidIsland.java b/src/main/java/world/bentobox/acidisland/AcidIsland.java index 9a3e4b8..1accca7 100644 --- a/src/main/java/world/bentobox/acidisland/AcidIsland.java +++ b/src/main/java/world/bentobox/acidisland/AcidIsland.java @@ -143,7 +143,7 @@ public class AcidIsland extends GameModeAddon { WorldCreator wc = WorldCreator.name(worldName2).type(WorldType.FLAT).environment(env); World w = settings.isUseOwnGenerator() ? wc.createWorld() : wc.generator(chunkGenerator2).createWorld(); // Set spawn rates - if (w != null) { + if (w != null && getSettings() != null) { if (getSettings().getSpawnLimitMonsters() > 0) { w.setMonsterSpawnLimit(getSettings().getSpawnLimitMonsters()); }