diff --git a/README.md b/README.md index 7dbbec5..203f717 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Returns a map of recipe filters, indexed by name. #### `craftguide.show(player_name, item, show_usages)` -Opens the craft guide with the current filter applied. +Opens the Crafting Guide with the current filter applied. * `player_name`: string param. * `item`: optional, string param. If set, this item is pre-selected. If the item does not exist or has no recipe, use the player's previous selection. By default, player's previous selection is used diff --git a/init.lua b/init.lua index 26c0c5e..b3b2b8d 100644 --- a/init.lua +++ b/init.lua @@ -181,7 +181,7 @@ local function get_filtered_items(player) local item = init_items[i] local recipes = recipes_cache[item] - if fuel_cache[item] then + if not recipes and fuel_cache[item] then recipes = table_merge(get_item_usages(item), recipes) end