Disallow double click pickup from crafting result slot
This commit is contained in:
parent
0aa8bc0b31
commit
77f79f3f48
@ -134,6 +134,10 @@ class ExoSuitInventoryMenu(val capability: MatteryPlayerCapability) : MatteryMen
|
||||
return ItemStack.EMPTY
|
||||
}
|
||||
|
||||
override fun canTakeItemForPickAll(p_38908_: ItemStack, p_38909_: Slot): Boolean {
|
||||
return p_38909_.container != craftingResultContainer && super.canTakeItemForPickAll(p_38908_, p_38909_)
|
||||
}
|
||||
|
||||
companion object : ContainerSynchronizer {
|
||||
// ServerPlayer#nextContainerCounter
|
||||
// this.containerCounter = this.containerCounter % 100 + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user