Remove num of stinkies from log messages

Because it's not ipairs
This commit is contained in:
2025-01-10 13:23:58 +01:00
parent 23bf656f82
commit 1c198f0133

View File

@@ -128,7 +128,7 @@ function shared.StinkyTracker.Init()
end
local whoStinkies = ParseWho(msg)
if Heimdall_Data.config.stinkyTracker.debug then
print(string.format("[%s] Found %d stinkies in WHO message", ModuleName, #whoStinkies))
print(string.format("[%s] Found stinkies in WHO message", ModuleName))
end
for name, stinky in pairs(whoStinkies) do
if stinky.hostile then
@@ -146,7 +146,7 @@ function shared.StinkyTracker.Init()
end
local seeStinkies = ParseSee(msg)
if Heimdall_Data.config.stinkyTracker.debug then
print(string.format("[%s] Found %d stinkies in SEE message", ModuleName, #seeStinkies))
print(string.format("[%s] Found stinkies in SEE message", ModuleName))
end
for name, stinky in pairs(seeStinkies) do
if stinky.hostile then
@@ -170,7 +170,7 @@ function shared.StinkyTracker.Init()
end
local arrivedStinkies = ParseArrived(msg)
if Heimdall_Data.config.stinkyTracker.debug then
print(string.format("[%s] Found %d stinkies in ARRIVED message", ModuleName, #arrivedStinkies))
print(string.format("[%s] Found stinkies in ARRIVED message", ModuleName))
end
for name, stinky in pairs(arrivedStinkies) do
shared.stinkyTracker.stinkies[name] = stinky