Skip to content

Commit

Permalink
Merge branch 'mc1.18/dev' of https://github.com/Creators-of-Create/Cr…
Browse files Browse the repository at this point in the history
…eate into mc1.18/dev
  • Loading branch information
simibubi committed Jul 25, 2024
2 parents f6a4851 + 4b02dec commit 67db1e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void collectItems(MovementContext context) {
.filter(itemStack -> !itemStack.isEmpty() && itemStack.getItem() != Items.AIR
&& itemStack.getMaxStackSize() > itemStack.getCount())
.forEach(itemStack -> itemStack.grow(ItemHelper
.extract(context.contraption.getSharedInventory(), itemStack::sameItem,
.extract(context.contraption.getSharedInventory(), (otherItemStack) -> ItemStack.isSameItemSameTags(itemStack, otherItemStack),
ItemHelper.ExtractionCountMode.UPTO, itemStack.getMaxStackSize() - itemStack.getCount(), false)
.getCount()));
}
Expand Down

0 comments on commit 67db1e5

Please sign in to comment.