forked from VoxeLibre/VoxeLibre
Rename _mcl_palette_index to _mcl_grass_palette_index
This commit is contained in:
parent
18e932997d
commit
a0c5a04d26
|
@ -19,7 +19,7 @@ local get_palette_color_from_pos = function(pos)
|
||||||
local biome_name = minetest.get_biome_name(biome)
|
local biome_name = minetest.get_biome_name(biome)
|
||||||
local reg_biome = minetest.registered_biomes[biome_name]
|
local reg_biome = minetest.registered_biomes[biome_name]
|
||||||
if reg_biome then
|
if reg_biome then
|
||||||
index = reg_biome._mcl_palette_index
|
index = reg_biome._mcl_grass_palette_index
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return index
|
return index
|
||||||
|
|
Loading…
Reference in New Issue