Allow ops to stack spawners by default.

This commit is contained in:
Brianna O'Keefe 2024-03-14 16:06:40 -05:00
parent 9231f1c112
commit 47de9e3b83

View File

@ -182,7 +182,7 @@ public class BlockListeners implements Listener {
SpawnerStack stack = UltimateStackerApi.getSpawnerStackManager().getSpawner(block); SpawnerStack stack = UltimateStackerApi.getSpawnerStackManager().getSpawner(block);
if (stack == null) return; if (stack == null) return;
if (player.isSneaking()) return; if (player.isSneaking()) return;
if (player.hasPermission("ultimatestacker.spawner.nostack")) { if (player.hasPermission("ultimatestacker.spawner.nostack") && !player.isOp()) {
event.setCancelled(false); event.setCancelled(false);
return; return;
} }