forked from minetest-mods/unified_inventory
Replace exclude_from_craft_guide with not_in_craft_guide
This commit is contained in:
parent
2ea417fad0
commit
3209033051
2
api.lua
2
api.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user