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:
Esophose 2019-08-04 19:45:45 +00:00
commit c98faf5f83

View File

@ -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);