fix missing "then" on "if"

This commit is contained in:
cornernote 2012-09-26 10:40:28 +09:30
parent 2d8accdc5f
commit 54d7dabdce
1 changed files with 2 additions and 2 deletions

View File

@ -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