Also don't add exopack slots to menus if we don't have exopack
This commit is contained in:
parent
48f933920c
commit
b31114ba09
@ -327,7 +327,7 @@ abstract class MatteryMenu(
|
||||
mapQuickMoveToInventory(offhandSlot!!)
|
||||
addSlot(offhandSlot!!)
|
||||
|
||||
for (i in 0 until mattery.combinedInventory.containerSize) {
|
||||
for (i in 0 until if (mattery.hasExopack) mattery.combinedInventory.containerSize else mattery.wrappedItemInventory.containerSize) {
|
||||
if (i in Inventory.INVENTORY_SIZE .. player.inventory.containerSize) continue
|
||||
|
||||
val slot = InventorySlot(mattery.combinedInventory, i, true)
|
||||
|
Loading…
Reference in New Issue
Block a user