mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-09-02 10:00:13 +02:00
Merge branch 'development' into 'development'
Don't allow non-authorized player's to steal from stacks. See merge request Songoda/fabledskyblock!21
This commit is contained in:
commit
c98faf5f83
|
@ -112,7 +112,7 @@ public class Interact implements Listener {
|
|||
|
||||
return;
|
||||
}
|
||||
} else if (block.getState() instanceof Cauldron) { // WildStacker stackables
|
||||
} else if (block.getType() == Material.CAULDRON) { // WildStacker stackables
|
||||
if (!islandManager.hasPermission(player, block.getLocation(), "Place") || !islandManager.hasPermission(player, block.getLocation(), "Destroy")) {
|
||||
event.setCancelled(true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user