thirdparty: fix wim class color strings

This commit is contained in:
shagu
2020-06-24 10:52:04 +02:00
parent 4a0d47eb11
commit 3845e974e4
+1 -1
View File
@@ -458,7 +458,7 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
for class in pairs(RAID_CLASS_COLORS) do
local wimclass = _G[format("WIM_LOCALIZED_%s",class)]
local colorstr = rgbhex(RAID_CLASS_COLORS[class].r, RAID_CLASS_COLORS[class].g, RAID_CLASS_COLORS[class].b, RAID_CLASS_COLORS[class].a)
_G.WIM_ClassColors[wimclass] = gsub(colorstr, "^ff", "")
_G.WIM_ClassColors[wimclass] = gsub(colorstr, "^|cff", "")
end
end, true)