One final tweak

This commit is contained in:
jordan4ibanez 2013-04-26 17:14:16 -04:00
parent 9665eb0347
commit 2f68483d52

View File

@ -740,6 +740,9 @@ minetest.register_abm({
chance = 5,
neighbors = {"air"},
action = function(pos, node)
if math.random() > 0.4 then
return
end
if minetest.env:get_node({x=pos.x, y=pos.y-1, z=pos.z}).name == "air" then
minetest.env:set_node(pos, {name="default:dirt"})
nodeupdate_single(pos)