From 5b03c83f6b02b0c3806189f3e790b27006ef2160 Mon Sep 17 00:00:00 2001 From: KodexKy Date: Tue, 16 Dec 2014 02:14:22 -0430 Subject: Fix stack2 param Fix stack2 amount count Fix stack2 sign recognition for y & z --- worldedit/manipulations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worldedit/manipulations.lua') 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 -- cgit v1.2.3