Change all use of heroclass to use RAID_CLASS_COLORS instead. This can be changed to CUSTOM_CLASS_COLORS later with a color picker for each class, but to support CoA classes need to go back to being colored properly.
Fix remaining lua errors covered by ascension patches Add Addon Skins Add Enhanced Friends List
This commit is contained in:
@@ -30,7 +30,8 @@ local function BuildDataTable()
|
||||
|
||||
for charName in pairs(ElvDB.gold[E.myrealm]) do
|
||||
if ElvDB.gold[E.myrealm][charName] then
|
||||
local color = E.media.herocolor
|
||||
local class = ElvDB.class[E.myrealm][charName]
|
||||
local color = class and RAID_CLASS_COLORS[class] or E.media.herocolor
|
||||
|
||||
tinsert(dataTable,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user