Made LBM run at every load, so that it catches anything missed from previous passes.

This commit is contained in:
Michieal 2023-02-06 16:54:23 -05:00
parent de00b7228e
commit ec7a97ba3e
1 changed files with 1 additions and 0 deletions

View File

@ -927,6 +927,7 @@ minetest.register_lbm({
label = "Replace legacy dry grass", label = "Replace legacy dry grass",
name = "mcl_core:replace_legacy_dry_grass_0_65_0", name = "mcl_core:replace_legacy_dry_grass_0_65_0",
nodenames = {"mcl_core:dirt_with_dry_grass", "mcl_core:dirt_with_dry_grass_snow"}, nodenames = {"mcl_core:dirt_with_dry_grass", "mcl_core:dirt_with_dry_grass_snow"},
run_at_every_load = true,
action = function(pos, node) action = function(pos, node)
if node.name == "mcl_core:dirt_with_dry_grass_snow" then if node.name == "mcl_core:dirt_with_dry_grass_snow" then
node.name = "mcl_core:dirt_with_grass_snow" node.name = "mcl_core:dirt_with_grass_snow"