From 75c998f36908c4ce23e389fee4607bfbdad56619 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Mon, 31 May 2021 08:43:42 -0700 Subject: [PATCH] ellipsoid parse tweak --- worldeditadditions_commands/commands/ellipsoid.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/worldeditadditions_commands/commands/ellipsoid.lua b/worldeditadditions_commands/commands/ellipsoid.lua index 5543318..c08e6c7 100644 --- a/worldeditadditions_commands/commands/ellipsoid.lua +++ b/worldeditadditions_commands/commands/ellipsoid.lua @@ -5,11 +5,7 @@ -- ███████ ███████ ███████ ██ ██ ███████ ██████ ██ ██████ local wea = worldeditadditions local function parse_params_ellipsoid(params_text) - local parts = worldeditadditions.split(params_text, "%s+", false) - -- Test: ('1 2 3 stone h') - -- Test: ('1 gill 3 stone h') - -- /lua a = worldeditadditions.split(" ", "%s+", false) - -- /lua worldeditadditions.split(" ", "%s+", false) + local parts = wea.split(params_text, "%s+", false) if #parts < 4 then return false, "Error: Not enough arguments. Expected \" [h[ollow]]\"."