fixup! Add a hollowcuboid iteration helper

This commit is contained in:
HybridDog 2024-04-23 20:12:33 +02:00
parent 2a90a1d235
commit f6b4a0f3fa
1 changed files with 1 additions and 1 deletions

View File

@ -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