Display total number of players with /who (#65)

This commit is contained in:
Andrey Kozlovskiy 2020-07-18 18:57:42 +03:00 committed by GitHub
parent ceb40e2bb3
commit cc78f12a4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ minetest.register_chatcommand("who", {
out[n] = plname
end
table.sort(out)
return true, "Players in channel: "..table.concat(out, ", ")
return true, n.." player(s) in channel: "..table.concat(out, ", ")
end
})