1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +02:00

changed water checks, jackolantern protection added

This commit is contained in:
TenPlus1
2019-05-08 19:30:20 +01:00
parent 4ad40a0ecb
commit 7c22eea12c
4 changed files with 15 additions and 3 deletions

View File

@ -322,7 +322,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} -- was y + 1
local light_pos = {x = pos.x, y = pos.y, z = pos.z}
local lambda = elapsed / STAGE_LENGTH_AVG
if lambda < 0.1 then