Skip to content

Commit

Permalink
skip keyring on free slot work
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Mar 18, 2024
1 parent c58ff17 commit f31fcb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ function items:BackpackLoadFunction()
for bagid, bag in pairs(items.itemsByBagAndSlot) do
local freeSlots = C_Container.GetContainerNumFreeSlots(bagid)
local name = ""
if bagid == 0 then
if bagid == -2 then
elseif bagid == 0 then
name = GetItemSubClassInfo(Enum.ItemClass.Container, 0)
extraSlotInfo.emptySlots[name] = extraSlotInfo.emptySlots[name] or 0
extraSlotInfo.emptySlots[name] = extraSlotInfo.emptySlots[name] + freeSlots
Expand Down

0 comments on commit f31fcb3

Please sign in to comment.