Fix interact distance check
This commit is contained in:
@@ -67,7 +67,7 @@ aura_env.TryInspect = function()
|
||||
if not targetPlayer then return end
|
||||
local targetName = UnitName("target")
|
||||
if not aura_env.config.recsan and WeakAurasSaved.Cyka.AchievementSniffer[targetName] then return end
|
||||
local canInspect = CanInspect("target", true)
|
||||
local canInspect = CheckInteractDistance("target", 1)
|
||||
if canInspect then
|
||||
SetAchievementComparisonUnit("target")
|
||||
end
|
||||
@@ -98,3 +98,4 @@ aura_env.Scan = function(playerName)
|
||||
end
|
||||
|
||||
--/run WeakAurasSaved.Cyka.AchievementSniffer = {}
|
||||
--/dump WeakAurasSaved.Cyka.AchievementSniffer["Ichbinpal"]
|
||||
Reference in New Issue
Block a user