Minor fixes

This commit is contained in:
2025-01-01 17:14:13 +01:00
parent 36297ca09d
commit 873ce0a30c
3 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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