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

@@ -1,4 +1,12 @@
---------------------------------------------------------------------------------------------------
Version: 0.18.6
Date: 27. 2. 2020
Changes:
- Updated retroactive downgrade to be on par with this version
Bugfixes:
- Fixed empty filter check, so it checks all slots instead of just the first one
---------------------------------------------------------------------------------------------------
Version: 0.18.5
Date: 24. 2. 2020
Changes:
@@ -46,7 +54,7 @@ Date: 22. 2. 2020
- Added player mod setting to control mod behaviour
---------------------------------------------------------------------------------------------------
Version: 0.17.0
Date: 24. 2. 2020
Date: 27. 2. 2020
Info:
- Retroactive downgrade
---------------------------------------------------------------------------------------------------

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)

View File

@@ -1,6 +1,6 @@
{
"name": "Autofilter",
"version": "0.18.5",
"version": "0.18.6",
"title": "Autofilter",
"author": "Wyrrrd",
"dependencies": [