We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80fef9d + 84437d8 commit a4025b5Copy full SHA for a4025b5
src/main/java/minechem/utils/Recipe.java
@@ -186,15 +186,12 @@ public static void init()
186
MapKey key = MapKey.getKey(input);
187
if (components != null && key != null)
188
{
189
- boolean badRecipe = input.stackSize > 0;
+ boolean badRecipe = false;
190
for (ItemStack component : components)
191
192
- if (component != null && component.getItem() != null)
+ if (component != null && (component.getItem() == null || component.isItemEqual(input) || component.stackSize < 1))
193
194
- if (component.isItemEqual(input) && component.getItemDamage() == input.getItemDamage() || component.stackSize < 1)
195
- {
196
- badRecipe = true;
197
- }
+ badRecipe = true;
198
}
199
200
if (!badRecipe)
0 commit comments