This commit is contained in:
@@ -248,9 +248,7 @@ function shared.AchievementSniffer.Init()
|
||||
if Heimdall_Data.config.achievementSniffer.debug then
|
||||
print(string.format("[%s] Event triggered: %s for unit: %s", ModuleName, event, unit))
|
||||
end
|
||||
if event == "NAME_PLATE_UNIT_ADDED" then
|
||||
TryInspect(unit)
|
||||
end
|
||||
if event == "NAME_PLATE_UNIT_ADDED" then TryInspect(unit) end
|
||||
--UpdateFrames()
|
||||
end)
|
||||
|
||||
@@ -271,7 +269,6 @@ function shared.AchievementSniffer.Init()
|
||||
Scan(name)
|
||||
end)
|
||||
|
||||
|
||||
local function Tick()
|
||||
C_Timer.NewTimer(Heimdall_Data.config.achievementSniffer.scanInterval, Tick)
|
||||
if not Heimdall_Data.config.achievementSniffer.enabled then return end
|
||||
|
Reference in New Issue
Block a user