mirror of
https://github.com/GTNewHorizons/BloodArsenal.git
synced 2026-11-26 15:03:19 +00:00
Fixed three-times death after applying Soul Burn effect with 0 LP in Network.
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user