mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
//maze[3d]: Fix no arguments specified edge case
This commit is contained in:
parent
70f7e64371
commit
fb228bb37b
@ -8,7 +8,7 @@ local we_c = worldeditadditions_commands
|
||||
|
||||
local function parse_params_maze(params_text, is_3d)
|
||||
if not params_text then
|
||||
return nil, nil, nil, nil
|
||||
return false, "No arguments specified"
|
||||
end
|
||||
|
||||
local parts = we_c.split(params_text, "%s+", false)
|
||||
|
Loading…
Reference in New Issue
Block a user