mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-25 02:00:39 +01:00
Fix #93 (thanks @za267!)
This commit is contained in:
parent
fc037e9c82
commit
48f9c6c23f
@ -157,7 +157,7 @@ function worldedit.pyramid(pos, axis, height, node_name)
|
|||||||
-- Set up voxel manipulator
|
-- Set up voxel manipulator
|
||||||
local manip, area = mh.init_axis_radius(pos, axis,
|
local manip, area = mh.init_axis_radius(pos, axis,
|
||||||
height >= 0 and height or -height)
|
height >= 0 and height or -height)
|
||||||
local data = mh.get_empty_data()
|
local data = mh.get_empty_data(area)
|
||||||
|
|
||||||
-- Handle inverted pyramids
|
-- Handle inverted pyramids
|
||||||
local start_axis, end_axis, step
|
local start_axis, end_axis, step
|
||||||
|
Loading…
Reference in New Issue
Block a user