Filename | |
---|---|
Monomyth.lua |
diff --git a/Monomyth.lua b/Monomyth.lua index d234d8a..60e7952 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -87,7 +87,9 @@ addon:Register('QUEST_COMPLETE', function() end end - _G['QuestInfoItem' .. bestIndex]:Click() + if(bestIndex) then + _G['QuestInfoItem' .. bestIndex]:Click() + end end end)