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:
@@ -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
|
||||
---------------------------------------------------------------------------------------------------
|
||||
@@ -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