Quantcast

-Code update

Xruptor [07-07-10 - 16:11]
-Code update
Filename
BagSync.lua
diff --git a/BagSync.lua b/BagSync.lua
index 6a342aa..83462d0 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -1064,7 +1064,7 @@ end

 local function HookTip(tooltip)
 	tooltip:HookScript('OnTooltipSetItem', function(self, ...)
-		local itemLink = select(2, self:GetItem())
+		local _, itemLink = self:GetItem()
 		if itemLink and GetItemInfo(itemLink) then
 			local itemName = GetItemInfo(itemLink)
 			if BagSyncOpt.enableThrottle then