1
0
Fork 0

Fix code typo in mcl_craftguide

This commit is contained in:
Wuzzy 2017-02-14 13:06:25 +01:00
parent b2ed3d7428
commit 3bb5ab67d6
1 changed files with 1 additions and 1 deletions

View File

@ -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_craft_guide or def.groups.not_in_raft_guide == 0)
if (not def.groups.not_in_craft_guide or def.groups.not_in_craft_guide == 0)
and (get_recipe(name).items or is_fuel)
and def.description and def.description ~= "" then
counter = counter + 1