diff --git a/mods/MISC/mcl_commands/kill.lua b/mods/MISC/mcl_commands/kill.lua index 996c767e2f..3ee70d15da 100644 --- a/mods/MISC/mcl_commands/kill.lua +++ b/mods/MISC/mcl_commands/kill.lua @@ -54,5 +54,6 @@ mcl_commands.overide_command("kill", function(cmd) privs = {settime = true} }) end, { + description = "Kill player or yourself.", privs = {server = true}, }) \ No newline at end of file diff --git a/mods/MISC/mcl_commands/title.lua b/mods/MISC/mcl_commands/title.lua index d92ccf9069..135cff2bce 100644 --- a/mods/MISC/mcl_commands/title.lua +++ b/mods/MISC/mcl_commands/title.lua @@ -116,12 +116,16 @@ mcl_commands.register_command("title", function(cmd) cmd:sub(":name:username times :fadeIn:int :stay:int :fadeOut:int", function(name, target, fadeIn, stay, fadeOut) --WIP return mcl_title.times(target, fadeIn, stay, fadeOut) end) - cmd:sub(":name:username clear", function(name, target) - return mcl_title.clear(target) - end) - cmd:sub(":name:username reset", function(name, target) - return mcl_title.reset(target) - end) + cmd:sub(":name:username clear", { + func = function(name, target) + return mcl_title.clear(target) + end + }) + cmd:sub(":name:username reset", { + func = function(name, target) + return mcl_title.reset(target) + end, + }) end, { description = "Controls text displayed on the screen.", privs = {