This commit is contained in:
Starbeamrainbowlabs 2022-09-19 18:33:19 +01:00
parent c82c83d008
commit d03e333e35
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -58,7 +58,7 @@ function worldeditadditions.spiral_square(pos1, pos2, target_node, interval, acc
pos_current = pos_current:add(direction) pos_current = pos_current:add(direction)
side_length = side_length + 1 side_length = side_length + 1
print("DEBUG cpos", pos_current, "side_length", side_length, "side_length_max", side_length_max, "direction", direction) -- print("DEBUG cpos", pos_current, "side_length", side_length, "side_length_max", side_length_max, "direction", direction)
if side_length >= side_length_max then if side_length >= side_length_max then
sides_complete = sides_complete + 1 sides_complete = sides_complete + 1