1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-04 00:51:04 +02:00

Fix many, many warnings

This commit is contained in:
Panquesito7
2020-02-06 19:42:52 -06:00
parent 69bb0e4185
commit 08879e9c28
6 changed files with 37 additions and 47 deletions

View File

@ -299,7 +299,6 @@ function worldedit.spiral(pos, length, height, spacer, node_name)
for index = 1, segment_length do
-- Move along the direction of the segment
i = i + stride_axis * sign
local column = i
-- Add column
for y = 1, height do
data[column] = node_id
@ -314,7 +313,6 @@ function worldedit.spiral(pos, length, height, spacer, node_name)
sign = -sign
for index = 1, segment_length do
i = i + stride_axis * sign
local column = i
-- Add column
for y = 1, height do
data[column] = node_id