Rename _mcl_palette_index to _mcl_grass_palette_index

This commit is contained in:
FossFanatic 2022-12-28 19:34:24 +00:00
parent ef15477e37
commit c1cde073c8

View file

@ -281,7 +281,7 @@ local function set_palette(minp,maxp,data2,area,biomemap,nodes)
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 then if biome and biome._mcl_biome_type then
data2[p_pos] = biome._mcl_palette_index data2[p_pos] = biome._mcl_grass_palette_index
lvm_used = true lvm_used = true
end end
end end