Rename _mcl_palette_index to _mcl_grass_palette_index

This commit is contained in:
FossFanatic 2022-12-28 19:32:42 +00:00
parent 18e932997d
commit a0c5a04d26

View file

@ -19,7 +19,7 @@ local get_palette_color_from_pos = function(pos)
local biome_name = minetest.get_biome_name(biome)
local reg_biome = minetest.registered_biomes[biome_name]
if reg_biome then
index = reg_biome._mcl_palette_index
index = reg_biome._mcl_grass_palette_index
end
end
return index