mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 22:44:07 +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
|
.filter(itemStack -> !itemStack.isEmpty() && itemStack.getItem() != Items.AIR
|
||||||
&& itemStack.getMaxStackSize() > itemStack.getCount())
|
&& itemStack.getMaxStackSize() > itemStack.getCount())
|
||||||
.forEach(itemStack -> itemStack.grow(ItemHelper
|
.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)
|
ItemHelper.ExtractionCountMode.UPTO, itemStack.getMaxStackSize() - itemStack.getCount(), false)
|
||||||
.getCount()));
|
.getCount()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user