Skip to content

Commit

Permalink
Dead entities don't give blood in the Smeltery. Yes, testdummies.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Aug 7, 2015
1 parent db8f60b commit ad48224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java
Expand Up @@ -381,7 +381,7 @@ else if (o instanceof EntityHorse && PHConstruct.meltableHorses)
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)
{
Expand Down

1 comment on commit ad48224

@PrincessOfEvil
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, really?

Please sign in to comment.