forked from mtcontrib/Minetest-WorldEdit
Fixed Issue #83 : upsidedown pyramid not working well
This commit is contained in:
parent
e0a2661700
commit
2e2fcfdfa2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user