mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-22 11:20:08 +01:00
Merge pull request #6062 from IThundxr/mc1.18/fixDropperDupe
Fix #4880 Dropper Dupe
This commit is contained in:
commit
4b02decb4f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class DropperMovementBehaviour implements MovementBehaviour {
|
|||
.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()));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue