tested: stable enough

This commit is contained in:
VorTechnix 2024-09-12 17:45:19 -07:00
parent 23aae6959f
commit 981bdc2b76
No known key found for this signature in database
GPG key ID: 091E91A69545D5BA
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ worldeditadditions_core.register_command("sgrow", {
require_pos = 0,
parse = function(params_text)
local ret = wea_c.split(params_text)
if #ret < 1 then return false, "SREL: No params found!"
if #ret < 1 then return false, "SGROW: No params found!"
else return true, ret end
end,
func = function(name, params_text)

View file

@ -10,14 +10,14 @@ local Vector3 = wea_c.Vector3
-- ███████ ███████ ██ ██ ██ ██ ██ ██ ████ ██ ██
worldeditadditions_core.register_command("shrink", {
worldeditadditions_core.register_command("sshrink", {
params = "[<axis1>] <length1> [[<axis2>] <length2> [...]]",
description = "Shrink selection region",
privs = { worldedit = true },
require_pos = 0,
parse = function(params_text)
local ret = wea_c.split(params_text)
if #ret < 1 then return false, "SREL: No params found!"
if #ret < 1 then return false, "SSHRINK: No params found!"
else return true, ret end
end,
func = function(name, params_text)