Fixed disc theft.
This commit is contained in:
1 parent
0cb4572269
commit
8070da8dda
1 file changed
+1
@@ -1286,6 +1286,7 @@ class PlayerEventHandler implements Listener
|
||||
if( clickedBlock != null && GriefPrevention.instance.config_claims_preventTheft && (
|
||||
event.getAction() == Action.RIGHT_CLICK_BLOCK && (
|
||||
this.isInventoryHolder(clickedBlock) ||
|
||||
clickedBlockType == Material.JUKEBOX ||
|
||||
clickedBlockType == Material.ANVIL ||
|
||||
GriefPrevention.instance.config_mods_containerTrustIds.Contains(new MaterialInfo(clickedBlock.getTypeId(), clickedBlock.getData(), null)))))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user