1
0
Fork 0

Craftguide: Show recipes hidden in creative inv.

objects
Wuzzy 2020-01-05 21:49:41 +01:00
parent 90298821a3
commit 1fc2ba6879
1 changed files with 1 additions and 2 deletions

View File

@ -865,8 +865,7 @@ local function get_init_items()
local c = 0 local c = 0
for name, def in pairs(reg_items) do for name, def in pairs(reg_items) do
local is_fuel = cache_fuel(name) local is_fuel = cache_fuel(name)
if not (def.groups.not_in_craft_guide == 1 or if not (def.groups.not_in_craft_guide == 1) and
def.groups.not_in_creative_inventory == 1) and
def.description and def.description ~= "" and def.description and def.description ~= "" and
(cache_recipes(name) or is_fuel) then (cache_recipes(name) or is_fuel) then
c = c + 1 c = c + 1