add warning message for invalid crafting recipes
This commit is contained in:
parent
861dc8a5d3
commit
e59cd56605
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user