1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-29 07:50:35 +02:00

Oops.. Let's fix the grass

- Fixing grass and peeble anihilation.
This commit is contained in:
LeMagnesium 2014-12-20 22:23:40 +01:00
parent 06515d42ed
commit 5b4b115f54

View File

@ -21,7 +21,10 @@ minetest.register_abm({
interval = 1,
chance = 1,
action = function(pos)
if minetest.get_node({x = pos.x, y = pos.y+1, z = pos.z}).name == "default:water_source"
or minetest.get_node({x = pos.x, y = pos.y+1, z = pos.z}).name == "default:water_flowing" then
minetest.remove_node(pos)
end
end,
})