Browse Source

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

master
tenplus1 1 year ago
parent
commit
cd30901b68
  1. 2
      soil.lua

2
soil.lua

@ -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

Loading…
Cancel
Save