Fix: added a check to Tooltip.lua so tt:AddLine is only called if id is not nil.

This commit is contained in:
Bluewhale1337
2026-07-26 14:15:04 +02:00
parent d56d2647c3
commit 1a100c4f0a
+1 -1
View File
@@ -421,7 +421,7 @@ function TT:SetHyperlink(tt, link, count)
end end
if tt:GetName() == "GameTooltip" then if tt:GetName() == "GameTooltip" then
if E.db.tooltip.spellID then if E.db.tooltip.spellID and id then
tt:AddLine(format("|cFFCA3C3C%s|r %d", ID, id)) tt:AddLine(format("|cFFCA3C3C%s|r %d", ID, id))
end end
end end