NPE fix for Bleed Simulation (hopefully)

This commit is contained in:
nossr50 2012-02-27 07:56:12 -08:00
parent d09512373b
commit 16a0a3364a

View File

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