Fix bag slot missing

This commit is contained in:
2025-03-30 17:19:47 +02:00
parent bbb3ab4058
commit 254f384648

View File

@@ -71,7 +71,7 @@ local function tryStackFabricator(character)
return return
end end
---@type Barotrauma.ItemInventory.Slot ---@type Barotrauma.ItemInventory.Slot
local bagSlot = inventory.slots[BAG_SLOT] local bagSlot = inventory.slots[MyModGlobal.BAG_SLOT]
if not bagSlot then if not bagSlot then
MyModGlobal.debugPrint("Bag slot not found.") MyModGlobal.debugPrint("Bag slot not found.")
return return