mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-23 08:08:02 -05:00
Fix ComponentsIngredient's getMatchingStacks() not applying the component changes. (#3884)
This commit is contained in:
parent
5a8c785ea0
commit
650897126b
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ public class ComponentsIngredient implements CustomIngredient {
|
||||||
stacks.replaceAll(stack -> {
|
stacks.replaceAll(stack -> {
|
||||||
ItemStack copy = stack.copy();
|
ItemStack copy = stack.copy();
|
||||||
|
|
||||||
stack.applyChanges(components);
|
copy.applyChanges(components);
|
||||||
|
|
||||||
return copy;
|
return copy;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue