move away from RAID_CLASS_COLORS dependency

This commit is contained in:
Brues
2026-05-28 13:06:00 -05:00
parent 1a7532195a
commit 1fd7895ca7
13 changed files with 49 additions and 56 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ pfUI:RegisterModule("mapcolors", function ()
local function ColorizeName(frame)
local _, class = UnitClass(frame.unit)
local color = RAID_CLASS_COLORS[class]
local color = PFUI_CLASS_COLORS[class]
frame.name = frame.name or UnitName(frame.unit)
frame.name = '|c'..color.colorStr..frame.name..'|r'
end