mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 23:42:59 +00:00
//maze[3d]: Fix no arguments specified edge case
This commit is contained in:
parent
70f7e64371
commit
fb228bb37b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ local we_c = worldeditadditions_commands
|
||||||
|
|
||||||
local function parse_params_maze(params_text, is_3d)
|
local function parse_params_maze(params_text, is_3d)
|
||||||
if not params_text then
|
if not params_text then
|
||||||
return nil, nil, nil, nil
|
return false, "No arguments specified"
|
||||||
end
|
end
|
||||||
|
|
||||||
local parts = we_c.split(params_text, "%s+", false)
|
local parts = we_c.split(params_text, "%s+", false)
|
||||||
|
|
Loading…
Reference in a new issue