Fix flame enchant damaging entities

This commit is contained in:
Jesse Boyd 2016-11-30 15:03:48 +11:00
parent 95f8aaa2fe
commit f3d950f6e1
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -2109,6 +2109,9 @@ public class PlayerEvents extends PlotListener implements Listener {
return;
}
onEntityDamageByEntityEvent(eventChange);
if (eventChange.isCancelled()) {
event.setCancelled(true);
}
}
@EventHandler(priority = EventPriority.HIGHEST)