From f399d475cc0a01fea9dc3a8fb7d730e2ab3aa995 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Tue, 1 Oct 2024 06:51:38 -0700 Subject: [PATCH] UASPARSE touchups Co-authored-by: Starbeamrainbowlabs --- worldeditadditions_commands/commands/uasparse.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldeditadditions_commands/commands/uasparse.lua b/worldeditadditions_commands/commands/uasparse.lua index 44f0015..bf072f4 100644 --- a/worldeditadditions_commands/commands/uasparse.lua +++ b/worldeditadditions_commands/commands/uasparse.lua @@ -9,12 +9,12 @@ local wea_c = worldeditadditions_core worldeditadditions_core.register_command("uasparse", { params = "", - description = "Returns min and max vectors for given inputs", + description = "Debug command. Returns min and max vectors for given inputs", privs = { worldedit = true }, -- require_pos = 2, parse = function(params_text) local ret = wea_c.split(params_text) - if #ret < 1 then return false, "UASPARSE: No params found!" + if #ret < 1 then return false, "Error: No params found!" else return true, ret end end, func = function(name, params_text)