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

protect this function from forbidden tooltips

parent ffd8b607
......@@ -744,6 +744,7 @@ function TT:SetCurrencyTokenByID(tt, id)
function TT:QuestID(tt)
if 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