mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-08 03:21:32 +01:00
Fix for spawnerenabled.
This commit is contained in:
parent
5b8d80e09d
commit
bff203bcf6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user