Fix offhand quick moving is not working
This commit is contained in:
parent
b53d19308e
commit
d91232b537
@ -135,7 +135,7 @@ class ExoSuitInventoryMenu(val capability: MatteryPlayerCapability) : MatteryMen
|
||||
return copy
|
||||
else
|
||||
return ItemStack.EMPTY
|
||||
} else if (craftingSlots.any { it.index == slotIndex }) {
|
||||
} else if (craftingSlots.any { it.index == slotIndex } || offhandSlot.index == slotIndex) {
|
||||
val copy = slots[slotIndex].item.copy()
|
||||
|
||||
if (moveItemStackTo(slots[slotIndex], playerInventorySlots))
|
||||
|
Loading…
Reference in New Issue
Block a user