mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 21:20:00 +00:00
move away from RAID_CLASS_COLORS dependency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user