mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-25 18:07:43 +01:00
Allow ops to stack spawners by default.
This commit is contained in:
parent
9231f1c112
commit
47de9e3b83
@ -182,7 +182,7 @@ public class BlockListeners implements Listener {
|
||||
SpawnerStack stack = UltimateStackerApi.getSpawnerStackManager().getSpawner(block);
|
||||
if (stack == null) return;
|
||||
if (player.isSneaking()) return;
|
||||
if (player.hasPermission("ultimatestacker.spawner.nostack")) {
|
||||
if (player.hasPermission("ultimatestacker.spawner.nostack") && !player.isOp()) {
|
||||
event.setCancelled(false);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user