From 569c2f0ce159a54492500b0f27bfe576612e0879 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 9 Apr 2017 20:19:07 -0600 Subject: [PATCH] make lava-spawned obsidian fall in the latest dev builds --- cooling_lava.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cooling_lava.lua b/cooling_lava.lua index d33b83f..b7dd15d 100644 --- a/cooling_lava.lua +++ b/cooling_lava.lua @@ -195,6 +195,9 @@ local cool_lava_source = function(pos, node) if obsidian_location ~= nil then minetest.set_node(pos, {name = "air"}) minetest.set_node(obsidian_location, {name = "default:obsidian"}) + if minetest.spawn_falling_node then -- TODO cutting-edge dev function, so check if it exists for the time being. Remove check when 0.4.16 is released. + minetest.spawn_falling_node(obsidian_location) + end elseif #evaporate_list > 0 then -- Again, this weird bit is necessary for breaking certain types of flow deadlock local loc = evaporate_list[math.random(1,#evaporate_list)]