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
|
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
|
||||||
|
|
Loading…
Reference in New Issue