Commit d5d6ec23 authored by Simpy's avatar Simpy 🐹
Browse files

actually check if player first

parent 29cbd220
......@@ -60,7 +60,7 @@ local function friendlyIsInRange(unit)
unit = getUnit(unit) -- swap the unit with `raid#` or `party#` when its NOT `player`, UnitIsUnit is true, and its not using `raid#` or `party#` already
if UnitPhaseReason(unit) and UnitIsPlayer(unit) then
if UnitIsPlayer(unit) and UnitPhaseReason(unit) then
return false -- is not in same phase
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment