diff --git a/Helper.lua b/Helper.lua index 306c89e..cfebc0e 100644 --- a/Helper.lua +++ b/Helper.lua @@ -215,8 +215,12 @@ function MaxDps:CheckTalents() -- last selected configID or fall back to default spec config local configID = C_ClassTalents.GetActiveConfigID(); - local configInfo = C_Traits.GetConfigInfo(configID); - local treeIDs = configInfo.treeIDs; + local configInfo = configID and C_Traits.GetConfigInfo(configID); + local treeIDs = configInfo and configInfo.treeIDs; + + if not treeIDs then + return + end for _, treeID in ipairs(treeIDs) do local nodes = C_Traits.GetTreeNodes(treeID); diff --git a/MaxDps.toc b/MaxDps.toc index 57ed1cc..f0f2869 100644 --- a/MaxDps.toc +++ b/MaxDps.toc @@ -1,8 +1,8 @@ ## Title: MaxDps ## Notes: Rotation helper framework. -## Version: 10.0.5 +## Version: 10.0.6 ## Author: Kaminaris -## Interface: 100002 +## Interface: 100100 ## SavedVariables: MaxDpsOptions ## OptionalDependencies: Bartender4, ElvUI, ButtonForge, SVUI_ActionBars, G15Buttons, SyncUI, LUI, Dominos, DiabolicUI, Neuron ## X-Curse-Project-ID: 91970