summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>2018-05-29 20:43:01 +0200
committerJean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>2018-05-29 20:43:01 +0200
commit7e4ab512098327baf593a4eea119523263b03215 (patch)
treeeb2f5e0257525b29778c0fd19586e6086a2b26bd
parentc738287a26dd43653720f5c97fbec236f1d7cb25 (diff)
parentb32d42cb004118684b401eb339a11593f591010c (diff)
Merge branch 'master' of https://github.com/minetest-mods/craftguide1.1
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 6538c83..78cb227 100644
--- a/init.lua
+++ b/init.lua
@@ -302,7 +302,7 @@ function craftguide:get_init_items()
local items_list, counter = {}, 0
for name, def in pairs(reg_items) do
local is_fuel = get_fueltime(name) > 0
- if not (def.groups.not_in_creative_inventory == 1) and
+ if (not (def.groups.not_in_craft_guide == 1 or def.groups.not_in_creative_inventory == 1)) and
(get_recipe(name).items or is_fuel) and
def.description and def.description ~= "" then