mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 03:00:29 +01: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;
|
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")) {
|
if (!islandManager.hasPermission(player, block.getLocation(), "Place") || !islandManager.hasPermission(player, block.getLocation(), "Destroy")) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user