mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-29 22:03:42 +01:00
Fix get_filtered_items again
This commit is contained in:
parent
cdc8e410b6
commit
183a9ff7a1
2
init.lua
2
init.lua
@ -259,7 +259,7 @@ local function get_filtered_items(player)
|
|||||||
local usages = usages_cache[item]
|
local usages = usages_cache[item]
|
||||||
|
|
||||||
if recipes and #apply_recipe_filters(recipes, player) > 0 or
|
if recipes and #apply_recipe_filters(recipes, player) > 0 or
|
||||||
(usages and (progressive_mode and item_in_inv(item, data.inv_items)) and
|
(usages and (not progressive_mode or item_in_inv(item, data.inv_items)) and
|
||||||
#apply_recipe_filters(usages_cache[item], player) > 0) then
|
#apply_recipe_filters(usages_cache[item], player) > 0) then
|
||||||
c = c + 1
|
c = c + 1
|
||||||
items[c] = item
|
items[c] = item
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
Craft Guide=Guide de recettes
|
Craft Guide=Guide de recettes
|
||||||
Crafting Guide=Guide de recettes
|
Crafting Guide=Guide de recettes
|
||||||
Crafting Guide Sign=Guide de recettes (panneau)
|
|
||||||
Search=Rechercher
|
Search=Rechercher
|
||||||
Reset=Réinitialiser
|
Reset=Réinitialiser
|
||||||
Previous page=Page précédente
|
Previous page=Page précédente
|
||||||
|
Loading…
Reference in New Issue
Block a user