Ignore hanging entities that break due to lack of supporting blocks
Closes #573
This commit is contained in:
parent
6ddcaec112
commit
99a676a6d1
|
|
@ -564,6 +564,9 @@ public class EntityEventHandler implements Listener
|
|||
//don't track in worlds where claims are not enabled
|
||||
if(!GriefPrevention.instance.claimsEnabledForWorld(event.getEntity().getWorld())) return;
|
||||
|
||||
//Ignore cases where itemframes should break due to no supporting blocks
|
||||
if(event.getCause() == RemoveCause.PHYSICS) return;
|
||||
|
||||
//FEATURE: claimed paintings are protected from breakage
|
||||
|
||||
//explosions don't destroy hangings
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user