1
0
Fork 0

Dry grass replacement: Use fallback param2

objects
Wuzzy 2019-12-16 23:59:49 +01:00
parent 4cc51a55c2
commit a5b4a261dc
1 changed files with 4 additions and 0 deletions

View File

@ -774,6 +774,10 @@ minetest.register_lbm({
node.name = "mcl_core:dirt_with_grass" node.name = "mcl_core:dirt_with_grass"
end end
node.param2 = reg_biome._mcl_palette_index 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) minetest.set_node(pos, node)
end end
end end