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:
commit
e8529e7742
2
api.lua
2
api.lua
@ -27,7 +27,7 @@ minetest.after(0.01, function()
|
|||||||
local groupchk = string.find(chk, "group:")
|
local groupchk = string.find(chk, "group:")
|
||||||
if (not groupchk and not minetest.registered_items[chk])
|
if (not groupchk and not minetest.registered_items[chk])
|
||||||
or (groupchk and not unified_inventory.get_group_item(string.gsub(chk, "group:", "")).item)
|
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
|
unknowns = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user