diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/menu/ExoSuitInventoryMenu.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/menu/ExoSuitInventoryMenu.kt index 295aeec60..4e452cb8c 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/menu/ExoSuitInventoryMenu.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/menu/ExoSuitInventoryMenu.kt @@ -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))