Replace exclude_from_craft_guide with not_in_craft_guide

This commit is contained in:
Wuzzy 2017-02-06 15:17:53 +01:00
parent 2ea417fad0
commit 3209033051

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