1
0
Fork 0

stopping obsidian from leaping into the air

mineclone_compatibility
FaceDeer 2017-04-07 09:31:14 -06:00
parent 08989ef513
commit 92080f807f
1 changed files with 4 additions and 2 deletions

View File

@ -198,8 +198,10 @@ local cool_lava_source = function(pos, node)
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)]
minetest.set_node(pos, {name = "air"})
minetest.set_node(loc, {name = "default:lava_source"})
if loc.y <= pos.y then
minetest.set_node(pos, {name = "air"})
minetest.set_node(loc, {name = "default:lava_source"})
end
end
minetest.sound_play("default_cool_lava",