One day I'll learn how Lua really works. I even have a book. >.>
pschifferer [04-24-09 - 04:14]
One day I'll learn how Lua really works. I even have a book. >.>
diff --git a/CauldronUtil.lua b/CauldronUtil.lua
index fea2fd6..d374470 100644
--- a/CauldronUtil.lua
+++ b/CauldronUtil.lua
@@ -157,7 +157,7 @@ function Cauldron:ScanBags()
for i=1,GetContainerNumSlots(bagid) do
local link = GetContainerItemLink(bagid, i);
if link then
- local name = GetNameFromLink(link);
+ local name = Cauldron:GetNameFromLink(link);
local count = GetItemCount(link);
self.vars.inventory[name] = count;
@@ -185,7 +185,7 @@ function Cauldron:GetItemDeltas(bagid)
for i=1,GetContainerNumSlots(bagid) do
local link = GetContainerItemLink(bagid, i);
if link then
- local name = GetNameFromLink(link);
+ local name = Cauldron:GetNameFromLink(link);
local count = GetItemCount(link);
-- local count = select(2, {GetContainerItemInfo(bagid, i)});