Minor fixes
This commit is contained in:
@@ -59,7 +59,7 @@ function shared.Spotter.Init()
|
|||||||
local faction = shared.raceMap[race]
|
local faction = shared.raceMap[race]
|
||||||
if not faction then return string.format("Could not find faction for race %s", tostring(race)) end
|
if not faction then return string.format("Could not find faction for race %s", tostring(race)) end
|
||||||
|
|
||||||
local hostile = UnitCanAttack("player", unit) == 1
|
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 for %s", tostring(name)) end
|
if not doNotify then return string.format("Not notifying for %s", tostring(name)) end
|
||||||
|
|
||||||
|
|||||||
@@ -254,6 +254,7 @@ function shared.Whoer.Init()
|
|||||||
local name, guild, level, race, class, zone = GetWhoInfo(i)
|
local name, guild, level, race, class, zone = GetWhoInfo(i)
|
||||||
if Heimdall_Data.config.who.ignored[name] then return end
|
if Heimdall_Data.config.who.ignored[name] then return end
|
||||||
local continue = false
|
local continue = false
|
||||||
|
--print(name, guild, level, race, class, zone)
|
||||||
|
|
||||||
---@type WHOFilter[]
|
---@type WHOFilter[]
|
||||||
local filters = query.filters
|
local filters = query.filters
|
||||||
@@ -318,7 +319,7 @@ function shared.Whoer.Init()
|
|||||||
end
|
end
|
||||||
-- Turns out WA cannot do this (
|
-- Turns out WA cannot do this (
|
||||||
-- aura_env.UpdateMacro()
|
-- aura_env.UpdateMacro()
|
||||||
_G["FriendsFrameCloseButton"]:Click()
|
--_G["FriendsFrameCloseButton"]:Click()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user