This commit is contained in:
Code-Sploit 2021-05-02 08:31:26 +00:00
parent 445af4e4c9
commit 8c2f5bc3d2
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ function mcl_smithing_table.upgrade_item(itemstack)
return return
end end
if mcl_enchanting.is_enchanted(itemname) then
upgrade_item = upgrade_item .. "_enchanted"
end
itemstack:set_name(upgrade_item) itemstack:set_name(upgrade_item)
-- Reload the ToolTips of the tool -- Reload the ToolTips of the tool