From af73465c0b9bfe9d3f26ffb3e975f4544bb17ec1 Mon Sep 17 00:00:00 2001 From: Azilroka Date: Tue, 7 Mar 2023 15:53:12 -0600 Subject: [PATCH] https://github.com/oUF-wow/oUF/pull/625 --- ElvUI_Libraries/Core/oUF/elements/classpower.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI_Libraries/Core/oUF/elements/classpower.lua b/ElvUI_Libraries/Core/oUF/elements/classpower.lua index 423e0653d8..7e84b3f4a8 100644 --- a/ElvUI_Libraries/Core/oUF/elements/classpower.lua +++ b/ElvUI_Libraries/Core/oUF/elements/classpower.lua @@ -256,7 +256,7 @@ end do function ClassPowerEnable(self) self:RegisterEvent('UNIT_MAXPOWER', Path) - self:RegisterEvent('UNIT_POWER_FREQUENT', Path) + self:RegisterEvent('UNIT_POWER_UPDATE', Path) if not oUF.isRetail then self:RegisterEvent('PLAYER_TARGET_CHANGED', VisibilityPath, true) @@ -276,7 +276,7 @@ do end function ClassPowerDisable(self) - self:UnregisterEvent('UNIT_POWER_FREQUENT', Path) + self:UnregisterEvent('UNIT_POWER_UPDATE', Path) self:UnregisterEvent('UNIT_MAXPOWER', Path) if oUF.isRetail then