diff options
author | madmaxoft <github@xoft.cz> | 2014-03-16 21:30:44 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-16 21:37:33 +0100 |
commit | 4227066f6d564a0e816b190f2726f036bff5b34d (patch) | |
tree | 342d9244cfa659feb98010bc4a2e24ee5b5803da /MCServer/Plugins/InfoReg.lua | |
parent | Removed the @EnableMobDebug.lua file. (diff) | |
download | cuberite-4227066f6d564a0e816b190f2726f036bff5b34d.tar cuberite-4227066f6d564a0e816b190f2726f036bff5b34d.tar.gz cuberite-4227066f6d564a0e816b190f2726f036bff5b34d.tar.bz2 cuberite-4227066f6d564a0e816b190f2726f036bff5b34d.tar.lz cuberite-4227066f6d564a0e816b190f2726f036bff5b34d.tar.xz cuberite-4227066f6d564a0e816b190f2726f036bff5b34d.tar.zst cuberite-4227066f6d564a0e816b190f2726f036bff5b34d.zip |
Diffstat (limited to 'MCServer/Plugins/InfoReg.lua')
-rw-r--r-- | MCServer/Plugins/InfoReg.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/InfoReg.lua b/MCServer/Plugins/InfoReg.lua index 1cf68dbed..b3717884a 100644 --- a/MCServer/Plugins/InfoReg.lua +++ b/MCServer/Plugins/InfoReg.lua @@ -59,13 +59,13 @@ local function MultiCommandHandler(a_Split, a_Player, a_CmdString, a_CmdInfo, a_ return true; end - -- Check if the handler is valid: + -- If the handler is not valid, check the next sublevel: if (Subcommand.Handler == nil) then if (Subcommand.Subcommands == nil) then LOG("Cannot find handler for command " .. a_CmdString .. " " .. Verb); return false; end - ListSubcommands(a_Player, Subcommand.Subcommands, a_CmdString .. " " .. Verb); + MultiCommandHandler(a_Split, a_Player, a_CmdString .. " " .. Verb, Subcommand, a_Level + 1); return true; end |