mirror of
				https://github.com/Uberi/Minetest-WorldEdit.git
				synced 2025-10-31 21:05:23 +01:00 
			
		
		
		
	Fixed Issue #83 : upsidedown pyramid not working well
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user