mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-25 18:20:19 +01:00
whoops, fixed number bug
This commit is contained in:
parent
e5d4bb9c87
commit
b7cafd19a3
2
init.lua
2
init.lua
@ -422,7 +422,7 @@ function farming.plant_growth_timer(pos, elapsed, node_name)
|
||||
else
|
||||
local under = minetest.get_node({ x = pos.x, y = pos.y - 1, z = pos.z })
|
||||
|
||||
if minetest.get_item_group(under.name, "soil") < 2 then
|
||||
if minetest.get_item_group(under.name, "soil") < 3 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user