mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 03:55:01 +00:00
finish deprecation
This commit is contained in:
parent
12747f6524
commit
d1c4f9bd19
3 changed files with 16 additions and 16 deletions
|
@ -7,15 +7,15 @@ local Vector3 = wea_c.Vector3
|
|||
-- ██ ██ ██ ██ ██
|
||||
-- ███████ ██████ ██████ ███████
|
||||
worldeditadditions_core.register_command("scol", {
|
||||
params = "[<axis1>] <length>",
|
||||
description = "Set WorldEdit region position 2 at a set distance along 1 axis.",
|
||||
privs = {worldedit=true},
|
||||
params = "None",
|
||||
description = "Deprecated.",
|
||||
privs = { worldedit = true },
|
||||
require_pos = 1,
|
||||
parse = function(params_text)
|
||||
-------------------------
|
||||
return params_text
|
||||
end,
|
||||
func = function(name)
|
||||
return true, "DEPRECATED: please use //srel instead..."
|
||||
func = function(name, paramtext)
|
||||
return false, "DEPRECATED: please use //srel instead..."
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
@ -7,15 +7,15 @@ local Vector3 = wea_c.Vector3
|
|||
-- ██ ██ ██ ██ ██ ██ ██
|
||||
-- ███████ ██████ ██████ ██████ ███████
|
||||
worldeditadditions_core.register_command("scube", {
|
||||
params = "[<axis1> [<axis2> [<axis3>]]] <length>",
|
||||
description = "Set WorldEdit region position 2 at a set distance along 3 axes.",
|
||||
params = "None",
|
||||
description = "Deprecated.",
|
||||
privs = { worldedit = true },
|
||||
require_pos = 1,
|
||||
parse = function(params_text)
|
||||
-------------------------
|
||||
return params_text
|
||||
end,
|
||||
func = function(name)
|
||||
return true, "DEPRECATED: please use //srel instead..."
|
||||
func = function(name, paramtext)
|
||||
return false, "DEPRECATED: please use //srel instead..."
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
@ -8,15 +8,15 @@ local Vector3 = wea_c.Vector3
|
|||
-- ██ ██ ██ ██ ██ ██
|
||||
-- ███████ ██ ██ ███████ ██████ ██
|
||||
worldeditadditions_core.register_command("srect", {
|
||||
params = "[<axis1> [<axis2>]] <length>",
|
||||
description = "Set WorldEdit region position 2 at a set distance along 2 axes.",
|
||||
params = "None",
|
||||
description = "Deprecated.",
|
||||
privs = { worldedit = true },
|
||||
require_pos = 1,
|
||||
parse = function(params_text)
|
||||
-------------------------
|
||||
return params_text
|
||||
end,
|
||||
func = function(name)
|
||||
return true, "DEPRECATED: please use //srel instead..."
|
||||
func = function(name, paramtext)
|
||||
return false, "DEPRECATED: please use //srel instead..."
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue