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] if minetest.registered_nodes[nn]
and minetest.registered_nodes[nn].walkable and minetest.registered_nodes[nn].walkable
and minetest.get_item_group(nn, "plant") == 0 then 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 return
end end