mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-27 19:20:20 +01:00
fix api.txt error
This commit is contained in:
parent
426564232e
commit
8606fbd202
4
api.txt
4
api.txt
@ -53,9 +53,9 @@ If a mod registers nodes to be used as crops using the {growing=1} group then an
|
|||||||
growth_check = function(pos, node_name)
|
growth_check = function(pos, node_name)
|
||||||
-- check surrounding for jungle tree
|
-- check surrounding for jungle tree
|
||||||
if minetest.find_node_near(pos, 1, {"default:jungletree"}) then
|
if minetest.find_node_near(pos, 1, {"default:jungletree"}) then
|
||||||
return false -- place next growth stage
|
return true -- place next growth stage
|
||||||
end
|
end
|
||||||
return true -- condition not met, skip next growth stage until next check
|
return false -- condition not met, skip next growth stage until next check
|
||||||
end,
|
end,
|
||||||
|
|
||||||
### Scythe items that will not drop
|
### Scythe items that will not drop
|
||||||
|
Loading…
Reference in New Issue
Block a user