diff --git a/Modules/Macroer.lua b/Modules/Macroer.lua index 638e1d6..c2913bb 100644 --- a/Modules/Macroer.lua +++ b/Modules/Macroer.lua @@ -92,6 +92,7 @@ function shared.Macroer.Init() shared.stinkyTracker.stinkies:onChange(function(value) if Heimdall_Data.config.macroer.debug then print(string.format("[%s] Stinkies changed, updating macro", ModuleName)) + shared.dumpTable(value) end FixMacro(value) end) diff --git a/Modules/StinkyTracker.lua b/Modules/StinkyTracker.lua index 52cecb2..3934f7d 100644 --- a/Modules/StinkyTracker.lua +++ b/Modules/StinkyTracker.lua @@ -171,19 +171,9 @@ function shared.StinkyTracker.Init() print(string.format("[%s] Found stinkies in SEE message", ModuleName)) end for name, stinky in pairs(seeStinkies) do - if stinky.hostile then - shared.stinkyTracker.stinkies[name] = stinky - if Heimdall_Data.config.stinkyTracker.debug then - print( - string.format("[%s] Added hostile stinky from SEE: %s (%s)", ModuleName, name, stinky.class) - ) - end - end - if not stinky.hostile then - shared.stinkyTracker.stinkies[name] = nil - if Heimdall_Data.config.stinkyTracker.debug then - print(string.format("[%s] Removed non-hostile stinky from SEE: %s", ModuleName, name)) - end + shared.stinkyTracker.stinkies[name] = stinky + if Heimdall_Data.config.stinkyTracker.debug then + print(string.format("[%s] Added hostile stinky from SEE: %s (%s)", ModuleName, name, stinky.class)) end end end