diff --git a/elements/tags.lua b/elements/tags.lua index 6cedbe73..58c91ade 100644 --- a/elements/tags.lua +++ b/elements/tags.lua @@ -468,7 +468,7 @@ local tagStrings = { end]], ['threatcolor'] = [[function(u) - return Hex(GetThreatStatusColor(UnitThreatSituation(u))) + return Hex(GetThreatStatusColor(UnitThreatSituation(u) or 0)) end]], }