Remove num of stinkies from log messages
Because it's not ipairs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user