3.3.1 fixed an exception
git [05-27-18 - 14:59]
diff --git a/00_startup.lua b/00_startup.lua
index 1eb5ecd..9aab11b 100644
--- a/00_startup.lua
+++ b/00_startup.lua
@@ -3,7 +3,7 @@ DAS = DailyAutoShare
local DailyAutoShare = DailyAutoShare
DAS.name = "DailyAutoshare"
-DAS.version = "3.3.0"
+DAS.version = "3.3.1"
DAS.author = "manavortex"
DAS.settings = {}
DAS.globalSettings = {}
@@ -354,7 +354,9 @@ local function queueQuestRefresh()
end
local function hookQuestTracker()
- ZO_PreHook(FOCUSED_QUEST_TRACKER, "ForceAssist", DAS.questTrackerUpdate)
+ if FOCUSED_QUEST_TRACKER and FOCUSED_QUEST_TRACKER.ForceAssist then
+ ZO_PreHook(FOCUSED_QUEST_TRACKER, "ForceAssist", queueQuestRefresh)
+ end
end
diff --git a/DailyAutoShare.txt b/DailyAutoShare.txt
index 32eadfc..70f7b3b 100644
--- a/DailyAutoShare.txt
+++ b/DailyAutoShare.txt
@@ -1,6 +1,6 @@
## Title: DailyAutoShare
## Author: manavortex
-## Version: 3.3.0
+## Version: 3.3.1
## APIVersion: 100023
## SavedVariables: DAS_Settings DAS_Globals
## OptionalDependsOn: LibStub LibCustomMenu LibAddonMenu-2.0 LibMediaProvider-1.0 pchat