Update whoison

Add "played" alias to "timeonline"
This commit is contained in:
Ombridride 2015-05-25 21:19:00 +02:00
parent 54f3ed1fd7
commit 6753155ce1
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,7 @@ minetest.register_chatcommand("seen",{
end
})
minetest.register_chatcommand("played",{
minetest.register_chatcommand("timeonline",{
param = "<name>",
description = "Shows the cumulative time a player has been online",
func = function (name, param)
@ -111,6 +111,7 @@ minetest.register_chatcommand("played",{
end
end
})
minetest.register_chatcommand("timeonline", core.chatcommands["played"])
function breakdowntime(t)
local countdown = t