diff --git a/src/main/java/minechem/utils/Recipe.java b/src/main/java/minechem/utils/Recipe.java index 5e7e602eb..6bc9aa64e 100644 --- a/src/main/java/minechem/utils/Recipe.java +++ b/src/main/java/minechem/utils/Recipe.java @@ -186,15 +186,12 @@ public static void init() MapKey key = MapKey.getKey(input); if (components != null && key != null) { - boolean badRecipe = input.stackSize > 0; + boolean badRecipe = false; for (ItemStack component : components) { - if (component != null && component.getItem() != null) + if (component != null && (component.getItem() == null || component.isItemEqual(input) || component.stackSize < 1)) { - if (component.isItemEqual(input) && component.getItemDamage() == input.getItemDamage() || component.stackSize < 1) - { - badRecipe = true; - } + badRecipe = true; } } if (!badRecipe)