Minor tweaks to BleedSimulate()

This commit is contained in:
nossr50 2012-02-27 03:53:15 -08:00
parent 4b26732f51
commit a0ab16eaa7

View File

@ -237,9 +237,7 @@ public class Swords
//Bleed monsters/animals //Bleed monsters/animals
for(LivingEntity x : plugin.misc.bleedTracker) for(LivingEntity x : plugin.misc.bleedTracker)
{ {
if(x == null){continue;} if(x.isDead())
if(x.getHealth() <= 0)
{ {
plugin.misc.addToBleedRemovalQue(x); plugin.misc.addToBleedRemovalQue(x);
continue; continue;