Quantcast

Hopefully fixed a nil index issue.

pschifferer [04-24-09 - 03:54]
Hopefully fixed a nil index issue.
Filename
CauldronUtil.lua
diff --git a/CauldronUtil.lua b/CauldronUtil.lua
index 1c345f8..333e4ca 100644
--- a/CauldronUtil.lua
+++ b/CauldronUtil.lua
@@ -185,7 +185,7 @@ function Cauldron:GetItemDeltas(bagid)
 	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);
 			-- local count = select(2, {GetContainerItemInfo(bagid, i)});