mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Simplify the LBM even more
This commit is contained in:
parent
ad25b0bc4b
commit
dc7a46df4e
@ -429,7 +429,6 @@ minetest.register_lbm({
|
|||||||
local biome_name = minetest.get_biome_name(biome)
|
local biome_name = minetest.get_biome_name(biome)
|
||||||
local reg_biome = minetest.registered_biomes[biome_name]
|
local reg_biome = minetest.registered_biomes[biome_name]
|
||||||
if node.param2 ~= reg_biome._mcl_grass_palette_index then
|
if node.param2 ~= reg_biome._mcl_grass_palette_index then
|
||||||
node.param2 = reg_biome._mcl_grass_palette_index
|
|
||||||
minetest.set_node(pos, node)
|
minetest.set_node(pos, node)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user