Skip to content

Commit

Permalink
SmelteryLogic: don't crash when melting Endermen with a Smeltery
Browse files Browse the repository at this point in the history
A FluidStack was being incorrectly constructed, causing the game to bomb out
when ender fluid was added to the Smeltery.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  • Loading branch information
tycho committed Sep 5, 2013
1 parent 0ae4843 commit 7a9dbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tconstruct/blocks/logic/SmelteryLogic.java
Expand Up @@ -325,7 +325,7 @@ else if (o instanceof EntityEnderman)
{
if (currentLiquid + 25 < maxLiquid)
{
this.addMoltenMetal(new FluidStack(TContent.moltenEnder.blockID, 25), false);
this.addMoltenMetal(new FluidStack(TContent.moltenEnderFluid, 25), false);
}
}
}
Expand Down

0 comments on commit 7a9dbd7

Please sign in to comment.