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
|
end
|
||||||
local whoStinkies = ParseWho(msg)
|
local whoStinkies = ParseWho(msg)
|
||||||
if Heimdall_Data.config.stinkyTracker.debug then
|
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
|
end
|
||||||
for name, stinky in pairs(whoStinkies) do
|
for name, stinky in pairs(whoStinkies) do
|
||||||
if stinky.hostile then
|
if stinky.hostile then
|
||||||
@@ -146,7 +146,7 @@ function shared.StinkyTracker.Init()
|
|||||||
end
|
end
|
||||||
local seeStinkies = ParseSee(msg)
|
local seeStinkies = ParseSee(msg)
|
||||||
if Heimdall_Data.config.stinkyTracker.debug then
|
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
|
end
|
||||||
for name, stinky in pairs(seeStinkies) do
|
for name, stinky in pairs(seeStinkies) do
|
||||||
if stinky.hostile then
|
if stinky.hostile then
|
||||||
@@ -170,7 +170,7 @@ function shared.StinkyTracker.Init()
|
|||||||
end
|
end
|
||||||
local arrivedStinkies = ParseArrived(msg)
|
local arrivedStinkies = ParseArrived(msg)
|
||||||
if Heimdall_Data.config.stinkyTracker.debug then
|
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
|
end
|
||||||
for name, stinky in pairs(arrivedStinkies) do
|
for name, stinky in pairs(arrivedStinkies) do
|
||||||
shared.stinkyTracker.stinkies[name] = stinky
|
shared.stinkyTracker.stinkies[name] = stinky
|
||||||
|
|||||||
Reference in New Issue
Block a user