mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 23:40:31 +01:00
Oops.. Let's fix the grass
- Fixing grass and peeble anihilation.
This commit is contained in:
parent
06515d42ed
commit
5b4b115f54
|
@ -21,7 +21,10 @@ minetest.register_abm({
|
|||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
minetest.remove_node(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,
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user