mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-14 13:34:52 +09:00
.
This commit is contained in:
1 parent
73b414b209
commit
5bd4cf1902
1 file changed
+1
-1
+1
-1
@@ -42,7 +42,7 @@ if settings.startup['PHI-CT'].value then
|
||||
local function trash_entity_creation(event)
|
||||
if event.entity and event.entity.valid and event.entity.name then
|
||||
if event.entity.name == 'trash-chest' then
|
||||
event.entity.set_infinity_container_filter{index = 1, filter = {name = 'iron-ore', count = 0, mode = 'exactly', index = 1}}
|
||||
event.entity.infinity_container_filters = {}
|
||||
event.entity.remove_unfiltered_items = true
|
||||
|
||||
elseif event.entity.name == 'trash-pipe' then
|
||||
|
||||
Reference in new issue
Block a user