mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Minor tweaks to BleedSimulate()
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user