From 9d2c0bd229600f0c6c8eb4ca142385a7dc5dbfee Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Fri, 4 Jul 2014 15:29:19 +1000 Subject: [PATCH] Fix for ceiling icicles "floating" --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 5b81e7d..c13671b 100644 --- a/init.lua +++ b/init.lua @@ -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