forked from mtcontrib/farming
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
|
else
|
||||||
local under = minetest.get_node({ x = pos.x, y = pos.y - 1, z = pos.z })
|
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
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user