From 201111cb83b51c0c7e714d868d8c28facd53f90f Mon Sep 17 00:00:00 2001 From: Nirek-K Date: Sat, 18 Jul 2015 18:58:13 -0500 Subject: [PATCH] minor cleanup of the minor cleanup of the fabricator..cleanup --- src/main/java/forestry/factory/gadgets/MachineFabricator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/forestry/factory/gadgets/MachineFabricator.java b/src/main/java/forestry/factory/gadgets/MachineFabricator.java index 3a1f4a6b3..2db6d2212 100755 --- a/src/main/java/forestry/factory/gadgets/MachineFabricator.java +++ b/src/main/java/forestry/factory/gadgets/MachineFabricator.java @@ -578,9 +578,7 @@ public class MachineFabricator extends TilePowered implements ICrafter, ILiquidT } else if (slotIndex == SLOT_PLAN) { return RecipeManager.isPlan(itemStack); } else if (GuiUtil.isIndexInRange(slotIndex, SLOT_INVENTORY_1, SLOT_INVENTORY_COUNT)) { - if (tile.getRecipe() != null) { - return tile.getRecipe().internal.isIngredient(itemStack); - }else if (RecipeManager.isPlan(itemStack) ) { + if (RecipeManager.isPlan(itemStack) ) { return false; }else if (RecipeManager.findMatchingSmelting(itemStack) != null) { return false;