From 498b1c792a7ebb7fa80c79aa1af74189109f59e1 Mon Sep 17 00:00:00 2001 From: Code-Sploit Date: Thu, 22 Apr 2021 12:07:30 +0000 Subject: [PATCH] Fix not able to put diamond tools in the smithing_table --- mods/ITEMS/mcl_smithing_table/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_smithing_table/init.lua b/mods/ITEMS/mcl_smithing_table/init.lua index adbac011b..02112ab14 100644 --- a/mods/ITEMS/mcl_smithing_table/init.lua +++ b/mods/ITEMS/mcl_smithing_table/init.lua @@ -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"))) .. "]" ..