This commit is contained in:
hyperdefined
2022-02-10 21:41:23 -05:00
parent 29e6c998cf
commit 77b1be62d4
11 changed files with 60 additions and 3 deletions

View File

@@ -49,6 +49,9 @@ public class EntityDamage implements Listener {
@EventHandler
public void onDamage(EntityDamageByEntityEvent event) {
if (event.isCancelled()) {
return;
}
if (!(event.getEntity() instanceof LivingEntity)) {
return;
}