summaryrefslogtreecommitdiff
path: root/worldedit/primitives.lua
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2015-11-01 16:50:36 -0500
committerAnthony Zhang <azhang9@gmail.com>2015-11-01 16:50:36 -0500
commit48f9c6c23fbfb81d2f071994acb7b33df47ea8b0 (patch)
tree663987b291dcc0dd1f4a2f6938b7f0384d7f9d7f /worldedit/primitives.lua
parentfc037e9c82f34a6bf441dd738c1b10a510eb8b4d (diff)
Fix #93 (thanks @za267!)
Diffstat (limited to 'worldedit/primitives.lua')
-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