mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 02:21:06 +01:00
Another small change to account for mangrove leaves
This one should actually work as expected.
This commit is contained in:
parent
aac6af4c20
commit
d28dcb1b10
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ local function set_foliage_palette(minp,maxp,data2,area,biomemap,nodes)
|
||||||
local bn = minetest.get_biome_name(biomemap[b_pos])
|
local bn = minetest.get_biome_name(biomemap[b_pos])
|
||||||
if bn then
|
if bn then
|
||||||
local biome = minetest.registered_biomes[bn]
|
local biome = minetest.registered_biomes[bn]
|
||||||
if biome and biome._mcl_biome_type and biome._mcl_foliage_palette_index and data2[p_pos] == 0 then
|
if biome and biome._mcl_biome_type and biome._mcl_foliage_palette_index and data2[p_pos] <= 1 then
|
||||||
data2[p_pos] = biome._mcl_foliage_palette_index
|
data2[p_pos] = biome._mcl_foliage_palette_index
|
||||||
lvm_used = true
|
lvm_used = true
|
||||||
elseif biome and biome._mcl_biome_type and biome._mcl_foliage_palette_index and data2[p_pos] > 1 then
|
elseif biome and biome._mcl_biome_type and biome._mcl_foliage_palette_index and data2[p_pos] > 1 then
|
||||||
|
|
Loading…
Reference in a new issue