From 7a9dbd703ca098b130056143b5204a5c6e28b247 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sun, 1 Sep 2013 02:30:55 -0700 Subject: [PATCH] SmelteryLogic: don't crash when melting Endermen with a Smeltery 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 --- src/tconstruct/blocks/logic/SmelteryLogic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tconstruct/blocks/logic/SmelteryLogic.java b/src/tconstruct/blocks/logic/SmelteryLogic.java index 164ebf6996e..76eb3ebcf7c 100644 --- a/src/tconstruct/blocks/logic/SmelteryLogic.java +++ b/src/tconstruct/blocks/logic/SmelteryLogic.java @@ -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); } } }