Skip to content

Commit 2e2fcfd

Browse files
Sebastien Poncesfan5
Sebastien Ponce
authored andcommittedJan 5, 2016
Fixed Issue #83 : upsidedown pyramid not working well
1 parent e0a2661 commit 2e2fcfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎worldedit/primitives.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function worldedit.pyramid(pos, axis, height, node_name)
177177
y = pos.y - area.MinEdge.y,
178178
z = pos.z - area.MinEdge.z,
179179
}
180-
local size = height * step
180+
local size = math.abs(height * step)
181181
local count = 0
182182
-- For each level of the pyramid
183183
for index1 = 0, height, step do

0 commit comments

Comments
 (0)
Please sign in to comment.