Better errors?

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
VorTechnix 2024-10-01 06:53:32 -07:00 committed by GitHub
parent f399d475cc
commit a48576a7ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

@ -14,7 +14,7 @@ worldeditadditions_core.register_command("sshift", {
require_pos = 2,
parse = function(params_text)
local ret = wea_c.split(params_text)
if #ret < 1 then return false, "SSHIFT: No params found!"
if #ret < 1 then return false, "Error: No params found!"
else return true, ret end
end,
func = function(name, params_text)

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