Skip to content

Commit 7b4e9dd

Browse files
Fixes some cases where handleRecipe() succeeds when it should fail (#4300)
1 parent cc180da commit 7b4e9dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/gregtechceu/gtceu/api/recipe/ingredient/SizedIngredient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static Ingredient copy(Ingredient ingredient) {
9898
}
9999
return copied;
100100
}
101-
return SizedIngredient.create(ingredient);
101+
return SizedIngredient.create(ingredient, ingredient.getItems()[0].getCount());
102102
}
103103

104104
@Override

0 commit comments

Comments
 (0)