1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-24 17:50:20 +01:00

normal/dry soil turns into correct base when no water nearby

This commit is contained in:
tenplus1 2021-02-24 16:47:12 +00:00
parent 675b30dc76
commit cd30901b68

View File

@ -148,7 +148,7 @@ minetest.register_abm({
if minetest.registered_nodes[nn]
and minetest.registered_nodes[nn].walkable
and minetest.get_item_group(nn, "plant") == 0 then
minetest.set_node(pos, {name = "default:dirt"})
minetest.set_node(pos, {name = ndef.soil.base})
return
end