diff --git a/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java b/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java index 29bb40a..56ca2d2 100644 --- a/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java +++ b/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java @@ -20,7 +20,7 @@ public class SpawnerListeners implements Listener { @EventHandler public void onSpawn(SpawnerSpawnEvent event) { - if (!Setting.STACK_ENTITIES.getBoolean()) return; + if (!Setting.STACK_ENTITIES.getBoolean() || !instance.spawnersEnabled()) return; SpawnerStackManager spawnerStackManager = instance.getSpawnerStackManager(); if (!spawnerStackManager.isSpawner(event.getSpawner().getLocation())) return;