mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 22:22:23 +01:00
//multi: fix luacheck error
This commit is contained in:
parent
b88cec64d4
commit
7cb1160e65
@ -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 New Issue
Block a user