Stronger protections for item frames, armor stands.

Now requires build trust to do damage, since they're decorative.
Right-click access is still container trust.
This commit is contained in:
ryanhamshire 2015-01-14 17:24:57 -08:00
parent a7a132ccf8
commit 682ededb81

View File

@ -642,7 +642,7 @@ class EntityEventHandler implements Listener
} }
//otherwise player must have container trust in the claim //otherwise player must have container trust in the claim
String failureReason = claim.allowContainers(attacker); String failureReason = claim.allowBuild(attacker, Material.AIR);
if(failureReason != null) if(failureReason != null)
{ {
event.setCancelled(true); event.setCancelled(true);