Skip to content

Commit

Permalink
Fixed Issue #83 : upsidedown pyramid not working well
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Ponce authored and sfan5 committed Jan 5, 2016
1 parent e0a2661 commit 2e2fcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldedit/primitives.lua
Expand Up @@ -177,7 +177,7 @@ function worldedit.pyramid(pos, axis, height, node_name)
y = pos.y - area.MinEdge.y,
z = pos.z - area.MinEdge.z,
}
local size = height * step
local size = math.abs(height * step)
local count = 0
-- For each level of the pyramid
for index1 = 0, height, step do
Expand Down

0 comments on commit 2e2fcfd

Please sign in to comment.