whoops, fixed number bug

This commit is contained in:
TenPlus1 2016-05-25 20:58:25 +01:00
parent e5d4bb9c87
commit b7cafd19a3

View File

@ -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