Fix bug in usages. Closes #82

This commit is contained in:
Foz 2016-11-18 16:34:40 -10:00
parent 5b9a53bf29
commit 020732a954
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ minetest.after(0.01, function()
for _, recipes in pairs(unified_inventory.crafts_for.recipe) do
for _, recipe in ipairs(recipes) do
local ingredient_items = {}
for _, spec in ipairs(recipe.items) do
for _, spec in pairs(recipe.items) do
local matches_spec = unified_inventory.canonical_item_spec_matcher(spec)
for _, name in ipairs(unified_inventory.items_list) do
if matches_spec(name) then