diff --git a/api/unitframes.lua b/api/unitframes.lua index e360749a..28b33d88 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -1118,8 +1118,7 @@ function pfUI.uf:GetStatusValue(unit, pos) -- as a fallback, draw the name if pos == "center" and not config then - frame:SetTextColor(pfUI.uf:GetColorUnit(unitstr)) - return UnitName(unitstr) + config = "unit" end if config == "unit" then