1
0
Fork 0
chat-command-builder-2
AFCMS 2021-06-25 10:09:52 +02:00
parent a6e0605b7c
commit 07513d8e52
1 changed files with 6 additions and 2 deletions

View File

@ -92,8 +92,12 @@ mcl_commands.types = {
function mcl_commands.match_param(table, index, type, params) function mcl_commands.match_param(table, index, type, params)
local typedef = mcl_commands.types[type] local typedef = mcl_commands.types[type]
if typedef.lengh > 1 then
return
else
local params = {} local params = {}
typedef.func() typedef.func()
end
end end
mcl_commands.registered_commands = {} mcl_commands.registered_commands = {}