From 93100a20be1cd2109c62b053ba3e22cb9f999983 Mon Sep 17 00:00:00 2001 From: Kyle Date: Mon, 10 Sep 2012 10:09:03 -0700 Subject: [PATCH] document the //move change --- README.md | 2 +- functions.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00e9f56..f76b9bd 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ Copy the current WorldEdit region along the x/y/z/? axis by nodes. ### //move x/y/z/? -Move the current WorldEdit region along the x/y/z/? axis by nodes. +Move the current WorldEdit positions and region along the x/y/z/? axis by nodes. //move x 15 //move y -7 diff --git a/functions.lua b/functions.lua index 00f73fc..ed20591 100644 --- a/functions.lua +++ b/functions.lua @@ -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