mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 14:34:16 +01:00
Fix #4880
This commit is contained in:
parent
2201d87da7
commit
d62774ff65
@ -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…
Reference in New Issue
Block a user