Small nil bug fix for SetQuestLogItem
Xruptor [09-20-16 - 11:47]
Small nil bug fix for SetQuestLogItem
diff --git a/BagSync.lua b/BagSync.lua
index 5867fee..8ae13e7 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -1229,7 +1229,7 @@ function BSYC:HookTooltip(tooltip)
local link = GetQuestLogItemLink(itemType, index)
if link and ParseItemLink(link) then
self.isModified = true
- AddItemToTooltip(self, link)
+ BSYC:AddItemToTooltip(self, link)
end
end)
hooksecurefunc(tooltip, "SetQuestItem", function(self, itemType, index)
diff --git a/BagSync.toc b/BagSync.toc
index a41fb58..4ab8adc 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: 10.1
+## Version: 10.2
## OptionalDeps: tekDebug
## SavedVariables: BagSyncDB, BagSyncOpt, BagSyncGUILD_DB, BagSyncCURRENCY_DB, BagSyncPROFESSION_DB, BagSyncBLACKLIST_DB, BagSync_REALMKEY