[Beta] Addon fails to hide Blizz nameplates in 9.0 (fix provided)
0xjc opened this issue ยท 1 comments
In Shadowlands Beta the nameplate.UnitFrame
is populated later than usual, so Kui's Blizzard hider will fail silently.
My (inelegant) fix is to replace in addon.lua
,
addon:RegisterEvent('NAME_PLATE_CREATED')
with
hooksecurefunc(NamePlateDriverFrame, "AcquireUnitFrame", function(_, frame) addon:NAME_PLATE_CREATED(frame) end)