Not notifying FOR %s cunt
This commit is contained in:
@@ -59,7 +59,7 @@ local function NotifySpotted(unit)
|
|||||||
|
|
||||||
local hostile = UnitCanAttack("player", unit)
|
local hostile = UnitCanAttack("player", unit)
|
||||||
local doNotify = ShouldNotify(unit, name, faction, hostile)
|
local doNotify = ShouldNotify(unit, name, faction, hostile)
|
||||||
if not doNotify then return string.format("Not notifying %s", tostring(name)) end
|
if not doNotify then return string.format("Not notifying for %s", tostring(name)) end
|
||||||
|
|
||||||
local hp = UnitHealth(unit)
|
local hp = UnitHealth(unit)
|
||||||
if not hp then return string.format("Could not find hp for unit %s", tostring(unit)) end
|
if not hp then return string.format("Could not find hp for unit %s", tostring(unit)) end
|
||||||
|
|||||||
Reference in New Issue
Block a user