From f9b99b9eb8262557674e4e13b082b96dc439857c Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Sat, 21 Mar 2015 23:22:30 +0100 Subject: [PATCH] Fixed whoison : double argument in chatcommand reg - Attempted to register chatcommand "timeonline","played", changed to "timeonline" --- mods/whoison/init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mods/whoison/init.lua b/mods/whoison/init.lua index 920d63a0..38e9d3c0 100755 --- a/mods/whoison/init.lua +++ b/mods/whoison/init.lua @@ -93,10 +93,9 @@ minetest.register_chatcommand("seen",{ minetest.chat_send_player(name,"Usage is /seen ") end end -} -) +}) -minetest.register_chatcommand("timeonline","played"{ +minetest.register_chatcommand("timeonline"{ param = "", description = "Shows the cumulative time a player has been online", func = function (name, param)