|
|
|
@ -45,9 +45,9 @@ local function OnDataUpdate()
|
|
|
|
|
wipe(free)
|
|
|
|
|
wipe(full)
|
|
|
|
|
while(bagID<=NUM_BAG_SLOTS) do
|
|
|
|
|
local b = GetContainerNumSlots(bagID)
|
|
|
|
|
local c = GetContainerNumFreeSlots(bagID)
|
|
|
|
|
local bagType = GetItemFamily(GetBagName(bagID))
|
|
|
|
|
local b = C_Container.GetContainerNumSlots(bagID)
|
|
|
|
|
local c = C_Container.GetContainerNumFreeSlots(bagID)
|
|
|
|
|
local bagType = GetItemFamily(C_Container.GetBagName(bagID))
|
|
|
|
|
if(not bagType or bagType==0) then
|
|
|
|
|
bagType = 0
|
|
|
|
|
full[0] = full[0] or 0
|
|
|
|
|