Skip to content

Commit

Permalink
https://github.com/oUF-wow/oUF/pull/625
Browse files Browse the repository at this point in the history
  • Loading branch information
Azilroka committed Mar 7, 2023
1 parent ae87855 commit af73465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElvUI_Libraries/Core/oUF/elements/classpower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit af73465

Please sign in to comment.