mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Dead entities don't give blood in the Smeltery. Yes, testdummies.
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user