summaryrefslogtreecommitdiff
path: root/unified_inventory/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'unified_inventory/api.lua')
-rw-r--r--unified_inventory/api.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/unified_inventory/api.lua b/unified_inventory/api.lua
index 59296db..872ce32 100644
--- a/unified_inventory/api.lua
+++ b/unified_inventory/api.lua
@@ -25,7 +25,8 @@ minetest.after(0.01, function()
for _,chk in pairs(recipe.items) do
local groupchk = string.find(chk, "group:")
if (not groupchk and not minetest.registered_items[chk])
- or (groupchk and not unified_inventory.get_group_item(string.gsub(chk, "group:", "")).item) then
+ or (groupchk and not unified_inventory.get_group_item(string.gsub(chk, "group:", "")).item)
+ or minetest.get_item_group(chk, "exclude_from_craft_guide") ~= 0 then
unknowns = true
end
end