Skip to content

Commit

Permalink
fix(combat): fix low mana alert
Browse files Browse the repository at this point in the history
  • Loading branch information
ffainy committed Mar 13, 2023
1 parent 5567f04 commit 84819a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/combat/combat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ local function lowHealthAlert(_, unit)
end

local function lowManaAlert(_, unit, powerType)
if unit ~= 'player' or powerTypes[powerType] then
if unit ~= 'player' or not allowedPowerTypes[powerType] then
return
end

Expand Down

0 comments on commit 84819a2

Please sign in to comment.