bring back old global function

This commit is contained in:
chmodsayshello 2023-06-21 10:57:50 +02:00
parent 2665980007
commit 16415ae577
1 changed files with 5 additions and 0 deletions

View File

@ -194,3 +194,8 @@ minetest.register_craft({
{"group:wood", "group:wood", ""}
}
})
-- this is the exact same as mcl_smithing_table.upgrade_item_netherite , in case something relies on the old function
function mcl_smithing_table.upgrade_item(itemstack)
return mcl_smithing_table.upgrade_item_netherite(itemstack)
end