summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-06-27 13:10:10 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-06-27 13:10:10 +0100
commit6e4fa56475b4375655befc61ef868bd39a1f2a5d (patch)
tree63e53975fba01ee2db8f494deb6ed6dbd900c63e /init.lua
parent024552dbe9db4e4b25eb31372bfef8d8cfe98558 (diff)
Fixed growing underground 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 4ea0b06..32b4894 100644
--- a/init.lua
+++ b/init.lua
@@ -339,7 +339,7 @@ function farming.plant_growth_timer(pos, elapsed, node_name)
if lambda < 0.1 then return true end
if max_growth == 1 or lambda < 2.0 then
local light = (minetest.get_node_light(light_pos) or 0) -- CHANGED
- print ("light level:", light)
+ --print ("light level:", light)
if not in_range(light, MIN_LIGHT, MAX_LIGHT) then return true end
growth = 1
else