Fix commands moved to C_Container
This commit is contained in:
parent
25db282797
commit
03e88f78c7
6
core.lua
6
core.lua
|
@ -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…
Reference in New Issue