1
0
Fork 0

Make the LBM run only once

Since some people complained about the LBM running at every load, I changed it so it only runs once instead. It shouldn't even need to run more than once anyways, unless somebody could prove the contrary.
hardcore_mode_test
FossFanatic 2023-01-13 17:58:51 +00:00
parent 292e7129f2
commit a500528613
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ minetest.register_lbm({
label = "Fix grass palette indexes",
name = "mcl_mapgen_core:fix_grass_palette_indexes",
nodenames = {"mcl_core:dirt_with_grass", "mcl_flowers:tallgrass", "mcl_flowers:double_grass", "mcl_flowers:double_grass_top", "mcl_flowers:fern", "mcl_flowers:double_fern", "mcl_flowers:double_fern_top", "mcl_core:reeds", "mcl_core:dirt_with_grass_snow"},
run_at_every_load = true,
run_at_every_load = false,
action = function(pos, node)
local biome_data = minetest.get_biome_data(pos)
if biome_data then