From 03e88f78c78d708f7a91ca6bae8eb63f3c73ce83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20H=C3=BCskes?= Date: Tue, 25 Oct 2022 16:18:19 +0200 Subject: [PATCH] Fix commands moved to C_Container --- core.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core.lua b/core.lua index 18528a4..27ea712 100755 --- a/core.lua +++ b/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