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