Skip to content

Commit 84819a2

Browse files
committed
fix(combat): fix low mana alert
1 parent 5567f04 commit 84819a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/combat/combat.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ local function lowHealthAlert(_, unit)
4747
end
4848

4949
local function lowManaAlert(_, unit, powerType)
50-
if unit ~= 'player' or powerTypes[powerType] then
50+
if unit ~= 'player' or not allowedPowerTypes[powerType] then
5151
return
5252
end
5353

0 commit comments

Comments
 (0)