Fixed another nil index instance. *sigh*
pschifferer [04-24-09 - 04:08]
Fixed another nil index instance. *sigh*
diff --git a/CauldronUtil.lua b/CauldronUtil.lua
index 333e4ca..fea2fd6 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,_ = GetItemInfo(link);
+ local name = GetNameFromLink(link);
local count = GetItemCount(link);
self.vars.inventory[name] = count;