From 18bc90fe4ebe69333589c01a0695ccf9f31da007 Mon Sep 17 00:00:00 2001 From: pschifferer Date: Fri, 24 Apr 2009 04:08:06 +0000 Subject: [PATCH] Fixed another nil index instance. *sigh* --- CauldronUtil.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.9.5