mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 21:23:44 +01:00
Fix code typo in mcl_craftguide
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user