diff --git a/mods/CORE/mcl_commands/api.lua b/mods/CORE/mcl_commands/api.lua index f5e3c18a01..c30d74d846 100644 --- a/mods/CORE/mcl_commands/api.lua +++ b/mods/CORE/mcl_commands/api.lua @@ -92,8 +92,12 @@ mcl_commands.types = { function mcl_commands.match_param(table, index, type, params) local typedef = mcl_commands.types[type] - local params = {} - typedef.func() + if typedef.lengh > 1 then + return + else + local params = {} + typedef.func() + end end mcl_commands.registered_commands = {}