From 37b75ec14dc29db361258d1425b12bdeefae95b8 Mon Sep 17 00:00:00 2001 From: RoboMWM Date: Tue, 25 Oct 2016 23:45:54 -0700 Subject: [PATCH] Call the final event (#637) --- src/com/projectkorra/projectkorra/util/DamageHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/projectkorra/projectkorra/util/DamageHandler.java b/src/com/projectkorra/projectkorra/util/DamageHandler.java index baeb0b88..db538d07 100644 --- a/src/com/projectkorra/projectkorra/util/DamageHandler.java +++ b/src/com/projectkorra/projectkorra/util/DamageHandler.java @@ -58,6 +58,7 @@ public class DamageHandler { } EntityDamageByEntityEvent finalEvent = new EntityDamageByEntityEvent(source, entity, cause, damage); + Bukkit.getServer().getPluginManager().callEvent(finalEvent); if (!finalEvent.isCancelled()) { damage = finalEvent.getDamage(); ((LivingEntity) entity).damage(damage, source);