forked from VoxeLibre/VoxeLibre
Fix code typo in mcl_craftguide
This commit is contained in:
parent
b2ed3d7428
commit
3bb5ab67d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue