fix wither ignoring claims on forge
This commit is contained in:
parent
72411f6f2f
commit
2545b6e9b5
@ -1,6 +1,7 @@
|
||||
Flan 1.7.3
|
||||
================
|
||||
- Internal changes
|
||||
- Forge: Fix wither ignoring claims
|
||||
|
||||
Flan 1.7.2
|
||||
================
|
||||
|
@ -78,7 +78,7 @@ public class EntityInteractEventsForge {
|
||||
* EntityInteractEvents.canSnowGolemInteract
|
||||
*/
|
||||
public static void mobGriefing(EntityMobGriefingEvent event) {
|
||||
if (event.getEntity() instanceof WitherBoss && EntityInteractEvents.witherCanDestroy((WitherBoss) event.getEntity())) {
|
||||
if (event.getEntity() instanceof WitherBoss && !EntityInteractEvents.witherCanDestroy((WitherBoss) event.getEntity())) {
|
||||
event.setResult(Event.Result.DENY);
|
||||
}
|
||||
if (event.getEntity() instanceof SnowGolem && !EntityInteractEvents.canSnowGolemInteract((SnowGolem) event.getEntity())) {
|
||||
|
Loading…
Reference in New Issue
Block a user