mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-09-27 15:10:17 +02:00
fixup! Add a hollowcuboid iteration helper
This commit is contained in:
parent
2a90a1d235
commit
f6b4a0f3fa
|
@ -27,7 +27,7 @@ function worldedit.cube(pos, width, height, length, node_name, hollow)
|
|||
if hollow then
|
||||
iterfunc = mh.iterp_hollowcuboid(area, basepos, endpos)
|
||||
else
|
||||
iterfunc = area:iter(basepos, endpos)
|
||||
iterfunc = area:iterp(basepos, endpos)
|
||||
end
|
||||
|
||||
for vi in iterfunc do
|
||||
|
|
Loading…
Reference in New Issue
Block a user