summaryrefslogtreecommitdiff
path: root/worldedit
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2014-12-29 17:51:51 -0500
committerAnthony Zhang <azhang9@gmail.com>2014-12-29 17:51:51 -0500
commit47990685514ebdfe114977c33e08c20511f1f0a7 (patch)
treefcb0e7a59ce3f0a65f2a886ccf044263312fc489 /worldedit
parente4d007199fa592d30aa7cc523a1551a7182dfec3 (diff)
parent5b03c83f6b02b0c3806189f3e790b27006ef2160 (diff)
Merge pull request #68 from KodexKy/stack2_fix
Fix stack2 param
Diffstat (limited to 'worldedit')
-rw-r--r--worldedit/manipulations.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/manipulations.lua b/worldedit/manipulations.lua
index 71eef5d..2b16c32 100644
--- a/worldedit/manipulations.lua
+++ b/worldedit/manipulations.lua
@@ -286,7 +286,7 @@ worldedit.stack2 = function(pos1, pos2, direction, amount, finished)
local i = 0
local translated = {x=0,y=0,z=0}
local function nextone()
- if i <= amount then
+ if i < amount then
i = i + 1
translated.x = translated.x + direction.x
translated.y = translated.y + direction.y