diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-11-27 13:37:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-27 13:37:29 -0500 |
commit | 4a22f8e4dafecf1a8c3747cef235a1754e4a012d (patch) | |
tree | a73692314f2903839ca5b24efde6c875e6215ac0 | |
parent | 2e00206f586d2fef2d836a752e1ffdc9460aa190 (diff) | |
parent | 020732a954ce63e129dfb4e65152c1072064359f (diff) |
Merge pull request #83 from FozLand/issue_82
Fix bug in usages. Closes #82
-rw-r--r-- | api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |