From a0ab16eaa75a3787898450d7b928236dd6495bf1 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 27 Feb 2012 03:53:15 -0800 Subject: [PATCH] Minor tweaks to BleedSimulate() --- src/main/java/com/gmail/nossr50/skills/Swords.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/Swords.java b/src/main/java/com/gmail/nossr50/skills/Swords.java index dc025f881..0db44cd83 100644 --- a/src/main/java/com/gmail/nossr50/skills/Swords.java +++ b/src/main/java/com/gmail/nossr50/skills/Swords.java @@ -237,9 +237,7 @@ public class Swords //Bleed monsters/animals for(LivingEntity x : plugin.misc.bleedTracker) { - if(x == null){continue;} - - if(x.getHealth() <= 0) + if(x.isDead()) { plugin.misc.addToBleedRemovalQue(x); continue;