summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-05-25 20:58:25 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-05-25 20:58:25 +0100
commitb7cafd19a359be116c81da68cc6eed4feccb70f2 (patch)
tree8f37089bcf7aef1a68b56c96de95dc6e234321d3 /init.lua
parente5d4bb9c87ed4045c5d033140fad7ec7c5542798 (diff)
whoops, fixed number bug
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 71fb39c..e8de0a2 100644
--- a/init.lua
+++ b/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