Added LBM

This commit is contained in:
Doloment 2021-04-18 09:50:02 +00:00 committed by kay27
parent 4b2a82e5b8
commit 819dbc6224
1 changed files with 10 additions and 0 deletions

View File

@ -1409,3 +1409,13 @@ minetest.register_lbm({
meta:set_string("formspec", formspec_shulker_box)
end,
})
minetest.register_lbm({
label = "Upgrade old ender chest formspec",
name = "mcl_chests:replace_old_ender_form",
nodenames = {"mcl_chests:ender_chest_small"},
run_at_every_load = false,
action = function(pos, node)
minetest.get_meta(pos):set_string("formspec", "")
end,
})