1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-16 06:40:33 +02:00

Fix ferns compatibility with minetest >= 0.4.16 (#78)

This commit is contained in:
sys4-fr
2018-03-17 21:37:02 +01:00
committed by Vanessa Dannenberg
parent 0af7b69afa
commit 9789d6da3a
6 changed files with 32 additions and 6 deletions

View File

@ -183,6 +183,7 @@ if abstract_ferns.config.enable_treeferns_in_jungle == true then
biome_lib:register_generate_plant({
surface = {
"default:dirt_with_grass",
"default:dirt_with_rainforest_litter", -- minetest >= 0.4.16
"default:sand",
"default:desert_sand",
},
@ -219,7 +220,7 @@ if abstract_ferns.config.enable_treeferns_in_oases == true then
neighbors = {"default:desert_sand"},
ncount = 1,
min_elevation = 1,
near_nodes = {"default:water_source"},
near_nodes = {"default:water_source","default:river_water_source"},
near_nodes_size = 2,
near_nodes_vertical = 1,
near_nodes_count = 1,