This commit is contained in:
jojoa1997 2013-03-09 12:57:22 -08:00
commit 821baa73c5

View file

@ -1712,6 +1712,17 @@ function default.register_falling_node(nodename, texture)
end
end
--ABMs
minetest.register_abm({
nodenames = {"default:lava_flowing"},
neighbors = {"default:water_flowing"},
interval = 2,
chance = 1,
action = function(pos)
miinetest.env:add_node(pos, {name = "default:stone"})
end,
})
--
-- Global callbacks
--