Fix not able to put diamond tools in the smithing_table

This commit is contained in:
Code-Sploit 2021-04-22 12:07:30 +00:00
parent 58c20a7542
commit 498b1c792a
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function mcl_smithing_table.upgrade_item(itemstack)
local def = itemstack:get_definition()
if not def or not def._mcl_upgradeable then
if not def or not def._mcl_upgradable then
return
end
@ -58,6 +58,7 @@ function mcl_smithing_table.upgrade_item(itemstack)
end
-- Badly copied over from mcl_anvils
-- ToDo: Make better formspec
local formspec = "size[9,9]" ..
"label[0,4.0;" .. minetest.formspec_escape(minetest.colorize(mcl_colors.DARK_GRAY, S("Inventory"))) .. "]" ..