mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-25 02:00:39 +01:00
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