diff --git a/mods/mcl_core/crafting.lua b/mods/mcl_core/crafting.lua index e07f78f1b..4aa0aeea3 100644 --- a/mods/mcl_core/crafting.lua +++ b/mods/mcl_core/crafting.lua @@ -46,14 +46,6 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = "mcl_core:torch 4", - recipe = { - { "group:coal" }, - { "mcl_core:stick" }, - } -}) - minetest.register_craft({ type = 'shapeless', output = 'mcl_core:mossycobble', diff --git a/mods/mcl_core/craftitems.lua b/mods/mcl_core/craftitems.lua index fd7bcb1ab..5d329f3e0 100644 --- a/mods/mcl_core/craftitems.lua +++ b/mods/mcl_core/craftitems.lua @@ -23,7 +23,7 @@ minetest.register_craftitem("mcl_core:coal_lump", { groups = { coal=1 }, inventory_image = "default_coal_lump.png", stack_max = 64, - groups = { craftitem=1 }, + groups = { craftitem=1, coal=1 }, }) minetest.register_craftitem("mcl_core:charcoal_lump", { @@ -31,7 +31,7 @@ minetest.register_craftitem("mcl_core:charcoal_lump", { groups = { coal=1 }, inventory_image = "default_charcoal_lump.png", stack_max = 64, - groups = { craftitem=1 }, + groups = { craftitem=1, coal=1 }, }) minetest.register_craftitem("mcl_core:iron_nugget", { diff --git a/mods/torches/init.lua b/mods/torches/init.lua index 20ce71b92..6a2ddec47 100644 --- a/mods/torches/init.lua +++ b/mods/torches/init.lua @@ -103,4 +103,11 @@ minetest.register_lbm({ end }) +minetest.register_craft({ + output = "torches:torch 4", + recipe = { + { "group:coal" }, + { "mcl_core:stick" }, + } +})