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

Fixed empty filter check

Now checks all slots instead of just one
This commit is contained in:
Wyrrrd
2020-02-27 06:34:36 +01:00
parent d3ca77eede
commit aed3caddda
3 changed files with 11 additions and 3 deletions

View File

@@ -6,8 +6,8 @@ local function is_filter_empty(inserter)
if inserter.get_filter(slot) then
return false
end
return true
end
return true
end
local function get_items_by_content(inserter,inventory)