7c7784eefa
Kui_Nameplates picks its colour source table once at load
(Modules/ClassColours.lua:90 and Libs/Kui/Kui.lua:56-60):
cc_table = CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS
with no per-key fallback. When the !ClassColors addon is loaded it
injects a vanilla-10-only CUSTOM_CLASS_COLORS, so the 22 CoA tokens
silently fall through and class-coloured friendly names disappear
(plus a nil-arg in kui.GetClassColour for the str path).
New file mirrors any RAID_CLASS_COLORS entry that CUSTOM_CLASS_COLORS
is missing, when !ClassColors is loaded. Idempotent — only fills nil
keys, so user customisations win. RAID_CLASS_COLORS itself is left
untouched (the Voljin/CoA client populates it from
patch-B.MPQ → SharedXML/SharedConstants.lua).
Same pattern as coa-omen and coa-shadowedunitframes' fixes.
26 lines
792 B
TeX
26 lines
792 B
TeX
## Interface: 30300
|
|
## Author: Kesava
|
|
## Title: Kui |cff9966ffNameplates|r
|
|
## Version: 263
|
|
## Notes: Prettier nameplates.
|
|
## OptionalDeps: !ClassColors
|
|
## SavedVariables: KuiNameplatesGDB
|
|
## X-Curse-Packaged-Version: 262
|
|
## X-Curse-Project-Name: KuiNameplates
|
|
## X-Curse-Project-ID: kuinameplates
|
|
## X-Website: https://github.com/bkader/KuiNameplates-WoTLK
|
|
## X-Email: bkader@email.com
|
|
## X-Date: 2022-01-01 @ 01:10 PM |cff808080UTC|r
|
|
|
|
Embeds.xml
|
|
Locales.xml
|
|
|
|
## CoA patches ##
|
|
# Mirror RAID_CLASS_COLORS into CUSTOM_CLASS_COLORS for the 22 CoA
|
|
# class tokens before any module captures cc_table. Loaded after
|
|
# Embeds (defensive — this file uses no libs) and before Core/Modules
|
|
# so ClassColours.lua:90 sees the populated CCC at OnInitialize time.
|
|
CoAClassColors.lua
|
|
|
|
Core.xml
|
|
Modules.xml |