Skip to content

Commit

Permalink
fix possible issue with sentry and health trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeebiss committed Jun 10, 2013
1 parent 121cff0 commit 68027c8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -176,7 +176,7 @@ public void die()
npc.getBukkitEntity().damage(npc.getBukkitEntity().getHealth());
}

@EventHandler(priority = EventPriority.MONITOR)
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onDeath(EntityDamageEvent event) {
// Don't use NPCDamageEvent because it doesn't work well

Expand Down

0 comments on commit 68027c8

Please sign in to comment.