mirror of
https://github.com/Wyrrrd/Autofilter.git
synced 2026-06-04 15:10:21 +02:00
Fixed empty filter check
Now checks all slots instead of just one
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user