Emptying/filling cauldrons requires /ct.

This commit is contained in:
ryanhamshire 2015-02-03 18:53:20 -08:00
parent b04625d861
commit 2866d0cdea

View File

@ -1303,6 +1303,7 @@ class PlayerEventHandler implements Listener
if( clickedBlock != null && GriefPrevention.instance.config_claims_preventTheft && (
event.getAction() == Action.RIGHT_CLICK_BLOCK && (
this.isInventoryHolder(clickedBlock) ||
clickedBlockType == Material.CAULDRON ||
clickedBlockType == Material.JUKEBOX ||
clickedBlockType == Material.ANVIL ||
GriefPrevention.instance.config_mods_containerTrustIds.Contains(new MaterialInfo(clickedBlock.getTypeId(), clickedBlock.getData(), null)))))