From 8c2f5bc3d223cfbafcb5c802931188bd2073501e Mon Sep 17 00:00:00 2001 From: Code-Sploit Date: Sun, 2 May 2021 08:31:26 +0000 Subject: [PATCH] Fix #1706 --- mods/ITEMS/mcl_smithing_table/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/ITEMS/mcl_smithing_table/init.lua b/mods/ITEMS/mcl_smithing_table/init.lua index b6c8d536f3..995cc04f84 100644 --- a/mods/ITEMS/mcl_smithing_table/init.lua +++ b/mods/ITEMS/mcl_smithing_table/init.lua @@ -23,6 +23,10 @@ function mcl_smithing_table.upgrade_item(itemstack) return end + if mcl_enchanting.is_enchanted(itemname) then + upgrade_item = upgrade_item .. "_enchanted" + end + itemstack:set_name(upgrade_item) -- Reload the ToolTips of the tool