Skip to content
Snippets Groups Projects
Commit 9d2c0bd2 authored by Craig Robbins's avatar Craig Robbins
Browse files

Fix for ceiling icicles "floating"

parent bf647b69
No related branches found
No related tags found
No related merge requests found
......@@ -196,8 +196,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
local ai = area:index(x,y+1,z) --above index
if data[ai] == c_stone and data[vi] == c_air then --ceiling
if math.random() < ICICHA and (biome == 4 or biome == 5) then
local bi = area:index(x,y-1,z)
data[bi] = c_icid
data[vi] = c_icid
end
if math.random() < WORMCHA then
data[vi] = c_worm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment