Quantcast

Was too aggressive with throwing errors, throwing less now.

Salvatore Lopiparo [07-25-16 - 05:14]
Was too aggressive with throwing errors, throwing less now.
Filename
code.lua
diff --git a/code.lua b/code.lua
index 909f0ab..dde19b7 100644
--- a/code.lua
+++ b/code.lua
@@ -582,7 +582,7 @@ local function addToTooltip(tooltip, itemLink)
 	-- if CanIMogIt.cachedItemLink ~= itemLink then
 	-- 	print("itemLink changed! " .. itemLink)
 	-- end
-	local itemInfo = CanIMogIt:GetItemInfo(itemLink)
+	local itemInfo = GetItemInfo(itemLink)
 	if not itemInfo then
 		CanIMogIt.cachedItemLink = nil
 		CanIMogIt.cachedTooltipText = nil