mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
move away from RAID_CLASS_COLORS dependency
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ end
|
||||
-- return: [table] string, r, g, b
|
||||
function pfUI.api.GetUnitColor(unitstr)
|
||||
local _, class = UnitClass(unitstr)
|
||||
local classColor = RAID_CLASS_COLORS[class]
|
||||
local classColor = PFUI_CLASS_COLORS[class]
|
||||
return classColor:GenerateHexColorMarkup(), classColor:GetRGB()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user