mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-03 12:33:57 +01:00
UASPARSE touchups
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
parent
a794429961
commit
f399d475cc
@ -9,12 +9,12 @@ local wea_c = worldeditadditions_core
|
||||
|
||||
worldeditadditions_core.register_command("uasparse", {
|
||||
params = "<unified axis syntax>",
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user