mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-05 01:45:00 +01:00
Merge branch 'mc1.18/dev' of https://github.com/Creators-of-Create/Create into mc1.18/dev
This commit is contained in:
commit
67db1e50f1
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
|
.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 a new issue