1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-26 19:50:22 +02:00

Version MFF.

This commit is contained in:
sys4-fr
2018-09-08 14:54:14 +02:00
parent 2e0277e558
commit f5ec948679
386 changed files with 244 additions and 240 deletions

2
nature_classic/global_function.lua Normal file → Executable file
View File

@ -64,7 +64,7 @@ end
function nature:grow_node(pos, nodename)
if pos ~= nil then
local light_enough = (minetest.get_node_light(pos, nil) or 0)
>= nature.minimum_growth_light
>= nature.minimum_growth_light
if is_not_young(pos) and light_enough then
minetest.set_node(pos, { name = nodename })