From 48f9c6c23fbfb81d2f071994acb7b33df47ea8b0 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Sun, 1 Nov 2015 16:50:36 -0500 Subject: [PATCH] Fix #93 (thanks @za267!) --- worldedit/primitives.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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