summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorBadToad2000 <jameson.miller@outlook.com>2016-07-17 02:05:29 -0500
committerBadToad2000 <jameson.miller@outlook.com>2016-07-17 02:05:29 -0500
commit5da8914da9e2ff749dd3a3584e4e721656d1a312 (patch)
treeeda897a637ec961284cf9d6391bff0efab859e4b /api.lua
parent3cdfdd14a5ac1de36f41981a6ed69b0f9f2fd90d (diff)
parentea5ffafb9c012d436ac209be32e3d82e35eb21a5 (diff)
Merge remote-tracking branch 'main/master' into use_smaller_bag
Merging at VenessaE's request to potentially get this change marged into Unified Inventory.
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index 59296db..872ce32 100644
--- a/api.lua
+++ b/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