mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
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:
parent
9cf6c9ed5e
commit
1f601c68c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue