Quantcast

-NOTE: This is a beta

Xruptor [10-14-10 - 23:59]
-NOTE: This is a beta
-Updated for 4.0
-Had to disable Tokens until I can fix them.
Filename
BagSync.lua
BagSync.toc
diff --git a/BagSync.lua b/BagSync.lua
index 2854355..8aa89f1 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -943,6 +943,7 @@ 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]
diff --git a/BagSync.toc b/BagSync.toc
index f7e29dd..2c61f04 100644
--- a/BagSync.toc
+++ b/BagSync.toc
@@ -1,8 +1,8 @@
-## Interface: 30300
+## Interface: 40000
 ## Title: BagSync
 ## Notes: BagSync tracks your characters items and displays it within tooltips.
 ## Author: Xruptor
-## Version: 4.3
+## Version: 5.0
 ## SavedVariables: BagSyncDB, BagSyncOpt, BagSyncGUILD_DB, BagSyncTOKEN_DB

 localization\localization.lua