1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-28 22:36:45 +02:00

fix eating of sunflower bread

This commit is contained in:
tenplus1
2021-11-08 08:05:12 +00:00
parent f8533c415b
commit b84374bfa5
3 changed files with 4 additions and 8 deletions

View File

@ -146,10 +146,12 @@ local def = {
},
sounds = default.node_sound_leaves_defaults(),
growth_check = function(pos, node_name)
if minetest.find_node_near(pos, 1, {"default:jungletree"}) then
return false
return false -- can grow
end
return true
return true -- cannot grow
end
}