1
0
Fork 0

Make snowy grass blocks have a palette index

This fixes the issue where snowy grass blocks always have the same coloured grass underneath them.
This commit is contained in:
FossFanatic 2022-12-28 17:02:58 +00:00
parent 9cf6c9ed5e
commit 1f601c68c5
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ local function block_fixes(vm, data, data2, emin, emax, area, minp, maxp, blocks
local pr = PseudoRandom(blockseed)
if minp.y <= mcl_vars.mg_overworld_max and maxp.y >= mcl_vars.mg_overworld_min then
-- Set param2 (=color) of sugar cane and grass
lvm_used = set_palette(minp,maxp,data2,area,biomemap,{"mcl_core:reeds","mcl_core:dirt_with_grass"})
lvm_used = set_palette(minp,maxp,data2,area,biomemap,{"mcl_core:reeds","mcl_core:dirt_with_grass","mcl_core:dirt_with_grass_snow"})
end
return lvm_used
end