mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-28 14:26:20 +02:00
Fix growth_check return value/check, add initial on_grow function
This commit is contained in:
@ -163,10 +163,10 @@ local def = {
|
||||
|
||||
if minetest.find_node_near(pos, 1,
|
||||
{"default:jungletree", "mcl_core:jungletree"}) then
|
||||
return false -- can grow
|
||||
return true -- place next growth stage
|
||||
end
|
||||
|
||||
return true -- cannot grow
|
||||
return false -- condition not met, skip growth stage until next check
|
||||
end
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user