1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-16 07:20:31 +01:00

Fixed whoison : double argument in chatcommand reg

- Attempted to register chatcommand "timeonline","played", changed to "timeonline"
This commit is contained in:
LeMagnesium 2015-03-21 23:22:30 +01:00
parent 9a42cae60c
commit f9b99b9eb8

View File

@ -93,10 +93,9 @@ minetest.register_chatcommand("seen",{
minetest.chat_send_player(name,"Usage is /seen <name>") minetest.chat_send_player(name,"Usage is /seen <name>")
end end
end end
} })
)
minetest.register_chatcommand("timeonline","played"{ minetest.register_chatcommand("timeonline"{
param = "<name>", param = "<name>",
description = "Shows the cumulative time a player has been online", description = "Shows the cumulative time a player has been online",
func = function (name, param) func = function (name, param)