From 7ad6be95c606b2a64bb6b9cbbca4153cab7b0ef6 Mon Sep 17 00:00:00 2001 From: CrazyPants Date: Wed, 26 Feb 2014 14:19:01 +0800 Subject: [PATCH] #497 Alloy only mode broken bug Code Complete --- common/crazypants/enderio/machine/alloy/TileAlloySmelter.java | 3 +++ resources/assets/enderio/lang/en_US.lang | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common/crazypants/enderio/machine/alloy/TileAlloySmelter.java b/common/crazypants/enderio/machine/alloy/TileAlloySmelter.java index a118f392..09a211ea 100644 --- a/common/crazypants/enderio/machine/alloy/TileAlloySmelter.java +++ b/common/crazypants/enderio/machine/alloy/TileAlloySmelter.java @@ -70,6 +70,9 @@ public class TileAlloySmelter extends AbstractPoweredTaskEntity { } IMachineRecipe nextRecipe = MachineRecipeRegistry.instance.getRecipeForInputs(getMachineName(), getInputs()); + if(mode == Mode.ALLOY && nextRecipe instanceof VanillaSmeltingRecipe) { + nextRecipe = null; + } if(nextRecipe == null) { return null; // no template } diff --git a/resources/assets/enderio/lang/en_US.lang b/resources/assets/enderio/lang/en_US.lang index 55d1f67d..bada3cf2 100644 --- a/resources/assets/enderio/lang/en_US.lang +++ b/resources/assets/enderio/lang/en_US.lang @@ -160,7 +160,7 @@ enderio.gui.mjReader.noPowerFromSide=cannot recieve power from this side enderio.gui.mjReader.connectionDir=connection to the enderio.gui.mjReader.extractedItems=Extracted items enderio.gui.mjReader.extractedItem=Item -enderio.gui.mjReader.noOutputs=have no valid outputs +enderio.gui.mjReader.noOutputs=has no valid outputs enderio.gui.mjReader.insertedInto=will be inserted into: enderio.gui.mjReader.noItems=Receives no items. enderio.gui.mjReader.noItem=Can not receive