diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-26 21:29:13 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-26 21:29:13 +0100 |
commit | 3d59270aef645f2d98384609d806f591cb6086fa (patch) | |
tree | 30b642f84c7570138a50e44085daad4ce013eae6 /init.lua | |
parent | b7cafd19a359be116c81da68cc6eed4feccb70f2 (diff) |
Checks light above crop and not inside crop.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ --[[ - Minetest Farming Redo Mod 1.22 (24th May 2016) + Minetest Farming Redo Mod 1.22 (26th May 2016) by TenPlus1 NEW growing routine by prestidigitator auto-refill by crabman77 @@ -428,7 +428,7 @@ function farming.plant_growth_timer(pos, elapsed, node_name) end local growth - local light_pos = {x = pos.x, y = pos.y, z = pos.z} + local light_pos = {x = pos.x, y = pos.y + 1, z = pos.z} local lambda = elapsed / STAGE_LENGTH_AVG if lambda < 0.1 then |