mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 13:46:46 +01:00
Minor tweaks to BleedSimulate()
This commit is contained in:
parent
4b26732f51
commit
a0ab16eaa7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user