1
0
mirror of https://github.com/Wyrrrd/Autofilter.git synced 2026-03-26 00:19:48 +01:00

Minor improvements

- Typos
- Code style
- Better thumbnail
This commit is contained in:
Wyrrrd
2020-02-23 00:45:02 +01:00
parent acb9688477
commit fc2afea961
5 changed files with 12 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
--functions definitions
local function get_items_by_content(inserter,inventory)
local items = {}
for item,count in pairs(inventory.get_contents()) do
for item,_ in pairs(inventory.get_contents()) do
if #items < inserter.filter_slot_count then
items[#items+1] = item
end