mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-04 21:33:43 +01:00
document the //move change
This commit is contained in:
parent
17c1e3887c
commit
93100a20be
@ -129,7 +129,7 @@ Copy the current WorldEdit region along the x/y/z/? axis by <amount> nodes.
|
||||
|
||||
### //move x/y/z/? <amount>
|
||||
|
||||
Move the current WorldEdit region along the x/y/z/? axis by <amount> nodes.
|
||||
Move the current WorldEdit positions and region along the x/y/z/? axis by <amount> nodes.
|
||||
|
||||
//move x 15
|
||||
//move y -7
|
||||
|
@ -309,7 +309,7 @@ worldedit.copy = function(pos1, pos2, axis, amount)
|
||||
return worldedit.volume(pos1, pos2)
|
||||
end
|
||||
|
||||
--moves the region defined by positions `pos1` and `pos2` along the `axis` axis ("x" or "y" or "z") by `amount` nodes, returning the number of nodes moved
|
||||
--moves positions `pos1` and `pos2` and the region defined by them along the `axis` axis ("x" or "y" or "z") by `amount` nodes, returning the number of nodes moved
|
||||
worldedit.move = function(pos1, pos2, axis, amount)
|
||||
local pos1, pos2 = worldedit.sort_pos(pos1, pos2)
|
||||
local env = minetest.env
|
||||
|
Loading…
Reference in New Issue
Block a user