1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Updated planflife modpack : bug fixes, less laggy, etc..

This commit is contained in:
LeMagnesium
2015-02-24 18:16:22 +01:00
parent 82d743415e
commit 70b36257ea
46 changed files with 1086 additions and 771 deletions

View File

@ -43,10 +43,7 @@ end
function nature:grow_node(pos, nodename)
if pos ~= nil then
if not minetest.get_node_light(pos, nil) or not nature.minimum_growth_light then return end
-- FIXME: WARN VANESSAE, OR MAYBE IT IS A MISSING CONFIGURATION'S PARAMETER
local light_enough = minetest.get_node_light(pos, nil)
local light_enough = (minetest.get_node_light(pos, nil) or 0)
>= nature.minimum_growth_light
if is_not_young(pos) and light_enough then