Revert "Clean the mess (thank you soo much the person who did it) (no offense)"

This reverts commit 2064c34858c48814576dbbe513e82575f8616435.
This commit is contained in:
Elias Fleckenstein
2021-05-09 16:14:17 +02:00
parent 2064c34858
commit 052bfa0cab

@ -11,7 +11,7 @@ function mcl_smithing_table.upgrade_item(itemstack)
local def = itemstack:get_definition()
if not def or not def.upgradable then
if not def or not def._mcl_upgradable then
return
end