mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Dry grass replacement: Use fallback param2
This commit is contained in:
parent
4cc51a55c2
commit
a5b4a261dc
1 changed files with 4 additions and 0 deletions
|
@ -774,6 +774,10 @@ minetest.register_lbm({
|
|||
node.name = "mcl_core:dirt_with_grass"
|
||||
end
|
||||
node.param2 = reg_biome._mcl_palette_index
|
||||
-- Fall back to savanna palette index
|
||||
if not node.param2 then
|
||||
node.param2 = 1
|
||||
end
|
||||
minetest.set_node(pos, node)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue