mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-25 16:43:05 +00:00
Better errors?
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
parent
f399d475cc
commit
a48576a7ab
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)
|
||||
|
|
Loading…
Reference in a new issue