mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 16:15:10 +00:00
Fix code typo in mcl_craftguide
This commit is contained in:
parent
b2ed3d7428
commit
3bb5ab67d6
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ function craftguide:get_init_items()
|
||||||
local items_list, counter = {}, 0
|
local items_list, counter = {}, 0
|
||||||
for name, def in pairs(reg_items) do
|
for name, def in pairs(reg_items) do
|
||||||
local is_fuel = get_fueltime(name) > 0
|
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 (get_recipe(name).items or is_fuel)
|
||||||
and def.description and def.description ~= "" then
|
and def.description and def.description ~= "" then
|
||||||
counter = counter + 1
|
counter = counter + 1
|
||||||
|
|
Loading…
Reference in a new issue