Emptying/filling cauldrons requires /ct.
This commit is contained in:
parent
b04625d861
commit
2866d0cdea
|
|
@ -1303,6 +1303,7 @@ class PlayerEventHandler implements Listener
|
||||||
if( clickedBlock != null && GriefPrevention.instance.config_claims_preventTheft && (
|
if( clickedBlock != null && GriefPrevention.instance.config_claims_preventTheft && (
|
||||||
event.getAction() == Action.RIGHT_CLICK_BLOCK && (
|
event.getAction() == Action.RIGHT_CLICK_BLOCK && (
|
||||||
this.isInventoryHolder(clickedBlock) ||
|
this.isInventoryHolder(clickedBlock) ||
|
||||||
|
clickedBlockType == Material.CAULDRON ||
|
||||||
clickedBlockType == Material.JUKEBOX ||
|
clickedBlockType == Material.JUKEBOX ||
|
||||||
clickedBlockType == Material.ANVIL ||
|
clickedBlockType == Material.ANVIL ||
|
||||||
GriefPrevention.instance.config_mods_containerTrustIds.Contains(new MaterialInfo(clickedBlock.getTypeId(), clickedBlock.getData(), null)))))
|
GriefPrevention.instance.config_mods_containerTrustIds.Contains(new MaterialInfo(clickedBlock.getTypeId(), clickedBlock.getData(), null)))))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user