Code format
Some checks failed
Release Workflow / release (push) Failing after 23s

This commit is contained in:
2025-05-04 15:09:34 +02:00
parent 304fbcbaae
commit 1da1e7bf9f
30 changed files with 4620 additions and 4241 deletions

View File

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