Fix ComponentsIngredient's getMatchingStacks() not applying the component changes. ()

(cherry picked from commit 650897126b)
This commit is contained in:
modmuss 2024-06-25 18:14:36 +01:00 committed by modmuss50
parent 850ef40b6f
commit 9c745bbb97

View file

@ -88,7 +88,7 @@ public class ComponentsIngredient implements CustomIngredient {
stacks.replaceAll(stack -> {
ItemStack copy = stack.copy();
stack.applyChanges(components);
copy.applyChanges(components);
return copy;
});