Fixed three-times death after applying Soul Burn effect with 0 LP in Network.

This commit is contained in:
TimeConqueror committed 2020-02-22 13:04:07 +03:00
1 parent 7d17ad926f
commit b2616bb589
1 file changed
+1 -1
@@ -118,7 +118,7 @@ public class BloodArsenalEventHooks
int amplifier = entityLiving.getActivePotionEffect(BloodArsenal.soulBurn).getAmplifier();
entityLiving.setFire(2);
if (entityLiving instanceof EntityPlayer)
if (entityLiving instanceof EntityPlayer && entityLiving.getHealth() > 0.0)
{
if (entityLiving.worldObj.getWorldTime() % (10 / (amplifier + 1)) == 0)
{