Skip to content

Commit

Permalink
Fix NC marker in recipe after fluid pattern terminal (#603)
Browse files Browse the repository at this point in the history
Co-authored-by: slprime <[email protected]>
  • Loading branch information
slprime and slprime authored Feb 8, 2025
1 parent 9d1f475 commit 7503e1d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/codechicken/nei/PositionedStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ public void setMaxSize(int i) {
}

public PositionedStack copy() {
PositionedStack pStack = new PositionedStack(Arrays.asList(items), relx, rely, false);
PositionedStack pStack = new PositionedStack(
Arrays.stream(this.items).map(ItemStack::copy).toArray(ItemStack[]::new),
relx,
rely,
false);
pStack.permutated = this.permutated;
return pStack;
}
Expand Down

0 comments on commit 7503e1d

Please sign in to comment.