From 54d7dabdceb404d9e40925e48cc6fff85bca5af1 Mon Sep 17 00:00:00 2001 From: cornernote Date: Wed, 26 Sep 2012 10:40:28 +0930 Subject: [PATCH] fix missing "then" on "if" --- functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.lua b/functions.lua index 4b98a84..668b987 100644 --- a/functions.lua +++ b/functions.lua @@ -134,7 +134,7 @@ worldedit.hollow_cylinder = function(pos, axis, length, radius, nodename) local node = {name=nodename} local count = 0 local step = 1 - if length < 0 + if length < 0 then length = -length step = -1 end @@ -195,7 +195,7 @@ worldedit.cylinder = function(pos, axis, length, radius, nodename) local node = {name=nodename} local count = 0 local step = 1 - if length < 0 + if length < 0 then length = -length step = -1 end