Merge pull request #90 from Wuzzy2/not_in_craft_guide

Replace exclude_from_craft_guide with not_in_craft_guide
This commit is contained in:
Vanessa Ezekowitz 2017-02-06 21:44:22 -05:00 committed by GitHub
commit e8529e7742

View File

@ -27,7 +27,7 @@ minetest.after(0.01, function()
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)
or minetest.get_item_group(chk, "exclude_from_craft_guide") ~= 0 then
or minetest.get_item_group(chk, "not_in_craft_guide") ~= 0 then
unknowns = true
end
end