Dead entities don't give blood in the Smeltery. Yes, testdummies.

This commit is contained in:
Bernhard Bonigl committed 2015-08-07 21:20:54 +02:00
1 parent db8f60b01e
commit ad4822465b
1 file changed
+1 -1
@@ -381,7 +381,7 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
else if (o instanceof EntityLivingBase)
{
EntityLivingBase living = (EntityLivingBase) o;
if (living.attackEntityFrom(new SmelteryDamageSource(), 5))
if (!living.isDead && living.attackEntityFrom(new SmelteryDamageSource(), 5))
{
if (currentLiquid + 40 < maxLiquid)
{