Skip to content

Commit

Permalink
oUF_Neav: UNIT_POWER is not a valid event
Browse files Browse the repository at this point in the history
Fixes #244
  • Loading branch information
lithammer committed Jul 26, 2018
1 parent b1cdcfe commit c2534c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Interface/AddOns/oUF_Neav/tags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local function FormatValue(value)
end
end

oUF.Tags.Events['AdditionalPower'] = 'UNIT_POWER UNIT_DISPLAYPOWER UNIT_MAXPOWER'
oUF.Tags.Events['AdditionalPower'] = 'UNIT_POWER_UPDATE UNIT_DISPLAYPOWER UNIT_MAXPOWER'
oUF.Tags.Methods['AdditionalPower'] = function(unit)
local min, max = UnitPower(unit, SPELL_POWER_MANA), UnitPowerMax(unit, SPELL_POWER_MANA)
if (min == max) then
Expand Down

0 comments on commit c2534c7

Please sign in to comment.