mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-03 16:40:38 +02:00
fixup! Add a hollowcuboid iteration helper
This commit is contained in:
@ -27,7 +27,7 @@ function worldedit.cube(pos, width, height, length, node_name, hollow)
|
|||||||
if hollow then
|
if hollow then
|
||||||
iterfunc = mh.iterp_hollowcuboid(area, basepos, endpos)
|
iterfunc = mh.iterp_hollowcuboid(area, basepos, endpos)
|
||||||
else
|
else
|
||||||
iterfunc = area:iter(basepos, endpos)
|
iterfunc = area:iterp(basepos, endpos)
|
||||||
end
|
end
|
||||||
|
|
||||||
for vi in iterfunc do
|
for vi in iterfunc do
|
||||||
|
Reference in New Issue
Block a user