mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 09:06:46 +01:00
NPE fix for Bleed Simulation (hopefully)
This commit is contained in:
parent
d09512373b
commit
16a0a3364a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user