Update primitives.lua

This commit is contained in:
Brett O'Donnell 2015-07-29 19:03:14 +09:30
parent fc037e9c82
commit 1c86bae277
1 changed files with 1 additions and 1 deletions

View File

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