mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-07-15 10:56:41 -04:00
Fix message for find_unknown_nodes chat command
This commit is contained in:
parent
95adf18f23
commit
0acbd3318b
1 changed files with 3 additions and 3 deletions
6
chat.lua
6
chat.lua
|
@ -447,9 +447,9 @@ core.register_chatcommand(cmd_repo.find_node.cmd, {
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local msg
|
local node_count = #unknown_nodes
|
||||||
if #unknown_nodes > 0 then
|
if node_count > 0 then
|
||||||
msg = S("Found unknown nodes: @1", table.concat(unknown_nodes, ", "))
|
msg = S("Found unknown nodes: @1", node_count) .. "\n " .. table.concat(unknown_nodes, ", ")
|
||||||
else
|
else
|
||||||
msg = S("No unknown nodes found.")
|
msg = S("No unknown nodes found.")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue