//maze[3d]: Fix no arguments specified edge case

This commit is contained in:
Starbeamrainbowlabs 2020-05-10 23:40:46 +01:00
parent 70f7e64371
commit fb228bb37b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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)