KuiNameplates

KuiNameplates

11M Downloads

error after cata pre-patch active

amey1956 opened this issue ยท 1 comments

commented

15x Frame:RegisterEvent(): Frame:RegisterEvent(): Attempt to register unknown event "UNIT_ABSORB_AMOUNT_CHANGED" [string "=[C]"]: in function RegisterEvent'
[string "@Kui_Nameplates/messages.lua"]:347: in function RegisterEvent' [string "@Kui_Nameplates/messages.lua"]:353: in function RegisterUnitEvent'
[string "@Kui_Nameplates/elements/absorbbar.lua"]:65: in function OnEnable' [string "@Kui_Nameplates/messages.lua"]:501: in function Enable'
[string "@Kui_Nameplates/addon.lua"]:183: in function <Kui_Nameplates/addon.lua:154>

Locals:
(*temporary) = Frame {
0 =
}
(*temporary) = "UNIT_ABSORB_AMOUNT_CHANGED"
`

commented

@amey1956 I had a similar error for a different event. Not sure if this will fix it for you, but I added or WOW_PROJECT_ID == WOW_PROJECT_CATACLYSM_CLASSIC to line 11 of Kui_Nameplates\\lib\Kui\Kui.lua and was able to load the addon. My line 11 now looks like this:

local WRATH = WOW_PROJECT_ID == WOW_PROJECT_WRATH_CLASSIC or WOW_PROJECT_ID == WOW_PROJECT_CATACLYSM_CLASSIC

Just a temporary patch until a more official cata version comes out. Good luck!