summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--worldedit/primitives.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/primitives.lua b/worldedit/primitives.lua
index 6d3b026..303f51d 100644
--- a/worldedit/primitives.lua
+++ b/worldedit/primitives.lua
@@ -157,7 +157,7 @@ function worldedit.pyramid(pos, axis, height, node_name)
-- Set up voxel manipulator
local manip, area = mh.init_axis_radius(pos, axis,
height >= 0 and height or -height)
- local data = mh.get_empty_data()
+ local data = mh.get_empty_data(area)
-- Handle inverted pyramids
local start_axis, end_axis, step