From e59cd5660529bc356fd4116a713b0e5d9e7ebdc3 Mon Sep 17 00:00:00 2001 From: goblin_mode Date: Wed, 18 Sep 2024 16:59:43 +0200 Subject: [PATCH] add warning message for invalid crafting recipes --- mods/HELP/mcl_craftguide/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/HELP/mcl_craftguide/init.lua b/mods/HELP/mcl_craftguide/init.lua index 783b58b2d..269df460d 100644 --- a/mods/HELP/mcl_craftguide/init.lua +++ b/mods/HELP/mcl_craftguide/init.lua @@ -754,6 +754,8 @@ local function get_init_items() elseif minetest.registered_items[ingredient] then usages_cache[ingredient] = usages_cache[ingredient] or {} table.insert(usages_cache[ingredient], recipe) + else + minetest.log("error", S("Invalid crafting ingredient: \"@1\" (dosent exist)", ingredient)) end end end