Rename dumpTable to dump and make it work with any values

This commit is contained in:
2025-05-20 20:40:25 +02:00
parent 26e783ee2e
commit 8532db5a25
22 changed files with 472 additions and 467 deletions

View File

@@ -67,7 +67,7 @@ shared.Macroer = {
if Heimdall_Data.config.macroer.debug then
print(string.format("[%s] Sorted stinkies: %d", ModuleName, #sortedStinkies))
shared.dumpTable(sortedStinkies)
shared.dump(sortedStinkies)
end
local lines = { "/targetenemy" }
for _, stinky in pairs(sortedStinkies) do
@@ -91,7 +91,7 @@ shared.Macroer = {
shared.StinkyTracker.OnChange(function(stinkies)
if Heimdall_Data.config.macroer.debug then
print(string.format("[%s] Stinkies changed, updating macro", ModuleName))
shared.dumpTable(stinkies)
shared.dump(stinkies)
end
FixMacro(stinkies)
end)