Quantcast

5.0.1

Xruptor [10-15-10 - 22:23]
5.0.1
-Commented out the token stuff.
Filename
BagSync.lua
BagSync.toc
diff --git a/BagSync.lua b/BagSync.lua
index 8aa89f1..3bea684 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -943,15 +943,15 @@ end

 --display in currency window tooltip, this is from Blizzard_TokenUI
 hooksecurefunc("TokenFrame_Update", function()
-	if TokenFrameContainer.buttons == nil then return end
-	local buttons = TokenFrameContainer.buttons
-	for i = 1, #buttons do
-		local button = buttons[i]
-		if not button.hookedOnEnter then
-			button.LinkButton:HookScript("OnEnter", function(self) BagSync:AddTokenTooltip(self) end)
-			button.hookedOnEnter = true
-		end
-	end
+	--if TokenFrameContainer.buttons == nil then return end
+	--local buttons = TokenFrameContainer.buttons
+	--for i = 1, #buttons do
+		-- local button = buttons[i]
+		-- if not button.hookedOnEnter then
+			-- button.LinkButton:HookScript("OnEnter", function(self) BagSync:AddTokenTooltip(self) end)
+			-- button.hookedOnEnter = true
+		-- end
+	-- end
 end)

 hooksecurefunc("BackpackTokenFrame_Update", BagSync.ScanTokens)
diff --git a/BagSync.toc b/BagSync.toc
index 2c61f04..59c4db9 100644
--- a/BagSync.toc
+++ b/BagSync.toc
@@ -2,7 +2,7 @@
 ## Title: BagSync
 ## Notes: BagSync tracks your characters items and displays it within tooltips.
 ## Author: Xruptor
-## Version: 5.0
+## Version: 5.0.1
 ## SavedVariables: BagSyncDB, BagSyncOpt, BagSyncGUILD_DB, BagSyncTOKEN_DB

 localization\localization.lua