From e0b56a73caad8d48046f23bfbcee7592a9cffa9a Mon Sep 17 00:00:00 2001 From: jaredlll08 Date: Thu, 19 Mar 2015 12:55:04 +0200 Subject: [PATCH] Close #58 --- .../java/modtweaker2/mods/tconstruct/handlers/Smeltery.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/modtweaker2/mods/tconstruct/handlers/Smeltery.java b/src/main/java/modtweaker2/mods/tconstruct/handlers/Smeltery.java index 5a5f8ff..9164be7 100644 --- a/src/main/java/modtweaker2/mods/tconstruct/handlers/Smeltery.java +++ b/src/main/java/modtweaker2/mods/tconstruct/handlers/Smeltery.java @@ -71,12 +71,10 @@ public class Smeltery { @Override public void apply() { for (AlloyMix r : TConstructHelper.alloys) { - if (r != null) { - if (r.result != null && fluid != null && r.result.isFluidStackIdentical(fluid)) { + if (r.result != null && fluid != null && r.result.getFluid() == fluid.getFluid()) { recipe = r; break; } - } } if (recipe != null) TConstructHelper.alloys.remove(recipe);