Fix commands moved to C_Container

master 100002.25
Robin Hüskes 7 months ago
parent 25db282797
commit 03e88f78c7

@ -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

Loading…
Cancel
Save