mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
//multi: fix luacheck error
This commit is contained in:
parent
b88cec64d4
commit
7cb1160e65
1 changed files with 1 additions and 1 deletions
|
@ -17,9 +17,9 @@ minetest.register_chatcommand("/multi", {
|
|||
-- Tokenise the input into a list of commands
|
||||
local success, commands = wea_c.parse.tokenise_commands(params_text)
|
||||
if not success then return success, commands end
|
||||
if type(commands) ~= "table" then return success, commands end
|
||||
|
||||
for i, command in ipairs(commands) do
|
||||
-- print("[DEBUG] i", i, "command: '"..command.."'")
|
||||
local start_time = wea_c.get_ms_time()
|
||||
|
||||
local found, _, command_name, args = command:find("^([^%s]+)%s(.+)$")
|
||||
|
|
Loading…
Reference in a new issue