From 16415ae5770dde1533b3d764c8183e3e2d37dc19 Mon Sep 17 00:00:00 2001 From: chmodsayshello Date: Wed, 21 Jun 2023 10:57:50 +0200 Subject: [PATCH] bring back old global function --- mods/ITEMS/mcl_smithing_table/init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mods/ITEMS/mcl_smithing_table/init.lua b/mods/ITEMS/mcl_smithing_table/init.lua index 89e28a8a4..a3924830d 100644 --- a/mods/ITEMS/mcl_smithing_table/init.lua +++ b/mods/ITEMS/mcl_smithing_table/init.lua @@ -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 \ No newline at end of file