add warning message for invalid crafting recipes

This commit is contained in:
goblin_mode 2024-09-18 16:59:43 +02:00
parent 861dc8a5d3
commit e59cd56605

View File

@ -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