mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-05-18 09:10:27 +02:00
normal/dry soil turns into correct base when no water nearby
This commit is contained in:
parent
675b30dc76
commit
cd30901b68
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…
x
Reference in New Issue
Block a user