NDui

NDui

143k Downloads

Not hiding Blizz castbar.

iamonefm opened this issue ยท 2 comments

commented

Of good. When using an alternative castbar (assuming I use gnosis) and disabled personal castbar in the "NDui" settings, blizzard castbar is displayed, even if it is disabled in the settings of another addon.
(branches TBC)

commented

Disable castbars directly, not just uncheck each castbar separately.

commented

Oh no.. I like NDui target castbar, I wouldn't want to turn them off completely :(
But the essence is clear .. I close.
I had to make :(
local pciscript = CreateFrame("Frame")
pciscript:RegisterEvent("PLAYER_ENTERING_WORLD")
pciscript:RegisterEvent("ADDON_LOADED")
pciscript:RegisterEvent("PLAYER_LOGIN")
pciscript:RegisterEvent("PLAYER_LOGOUT")
local function eventHandler(self,event)
if event == "ADDON_LOADED" then
CastingBarFrame:UnregisterAllEvents()
end
end
pciscript:SetScript("OnEvent",eventHandler)