mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Fix not able to put diamond tools in the smithing_table
This commit is contained in:
parent
3b2a34c670
commit
8080932353
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ function mcl_smithing_table.upgrade_item(itemstack)
|
||||||
|
|
||||||
local def = itemstack:get_definition()
|
local def = itemstack:get_definition()
|
||||||
|
|
||||||
if not def or not def._mcl_upgradeable then
|
if not def or not def._mcl_upgradable then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ function mcl_smithing_table.upgrade_item(itemstack)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Badly copied over from mcl_anvils
|
-- Badly copied over from mcl_anvils
|
||||||
|
-- ToDo: Make better formspec
|
||||||
|
|
||||||
local formspec = "size[9,9]" ..
|
local formspec = "size[9,9]" ..
|
||||||
"label[0,4.0;" .. minetest.formspec_escape(minetest.colorize(mcl_colors.DARK_GRAY, S("Inventory"))) .. "]" ..
|
"label[0,4.0;" .. minetest.formspec_escape(minetest.colorize(mcl_colors.DARK_GRAY, S("Inventory"))) .. "]" ..
|
||||||
|
|
Loading…
Reference in a new issue