Emptying/filling cauldrons requires /ct.
This commit is contained in:
1 parent
b04625d861
commit
2866d0cdea
1 file changed
+1
@@ -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)))))
|
||||||
|
|||||||
Reference in new issue
Block a user