Commit a6bde552 authored by Simpy's avatar Simpy 🐹
Browse files

further protect the quest tt func

parent 071f1709
......@@ -744,7 +744,7 @@ function TT:SetCurrencyTokenByID(tt, id)
function TT:QuestID(tt)
if tt:IsForbidden() then return end
if not tt or tt:IsForbidden() then return end
local id = tt.questLogIndex and C_QuestLog_GetQuestIDForLogIndex(tt.questLogIndex) or tt.questID
if id and TT:IsModKeyDown() then
GameTooltip:AddLine(format(IDLine, _G.ID, id))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment