summaryrefslogtreecommitdiff
path: root/unified_inventory/api.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-07-14 09:03:38 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-07-14 09:03:38 -0400
commitf9cae7314e08fbeeef509c5c6ca095822fec1747 (patch)
tree2eb9457ccb198269b9a8c9e050630d1ced3de81d /unified_inventory/api.lua
parent4b4687ee8475f6649de9724db606c26fc7cd53cb (diff)
downloaddreambuilder_modpack-f9cae7314e08fbeeef509c5c6ca095822fec1747.tar
dreambuilder_modpack-f9cae7314e08fbeeef509c5c6ca095822fec1747.tar.gz
dreambuilder_modpack-f9cae7314e08fbeeef509c5c6ca095822fec1747.tar.bz2
dreambuilder_modpack-f9cae7314e08fbeeef509c5c6ca095822fec1747.tar.xz
dreambuilder_modpack-f9cae7314e08fbeeef509c5c6ca095822fec1747.zip
update boost carts, mesecons, moreblocks, moretrees, unified inventory,
and worldedit
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