Added LBM

This commit is contained in:
Doloment 2021-04-18 09:50:02 +00:00
parent 51f121d516
commit 956dab78ce
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) meta:set_string("formspec", formspec_shulker_box)
end, 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,
})