mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-02-22 14:20:22 +01:00
fix missing "then" on "if"
This commit is contained in:
parent
2d8accdc5f
commit
54d7dabdce
@ -134,7 +134,7 @@ worldedit.hollow_cylinder = function(pos, axis, length, radius, nodename)
|
|||||||
local node = {name=nodename}
|
local node = {name=nodename}
|
||||||
local count = 0
|
local count = 0
|
||||||
local step = 1
|
local step = 1
|
||||||
if length < 0
|
if length < 0 then
|
||||||
length = -length
|
length = -length
|
||||||
step = -1
|
step = -1
|
||||||
end
|
end
|
||||||
@ -195,7 +195,7 @@ worldedit.cylinder = function(pos, axis, length, radius, nodename)
|
|||||||
local node = {name=nodename}
|
local node = {name=nodename}
|
||||||
local count = 0
|
local count = 0
|
||||||
local step = 1
|
local step = 1
|
||||||
if length < 0
|
if length < 0 then
|
||||||
length = -length
|
length = -length
|
||||||
step = -1
|
step = -1
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user