mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 04:11:39 +09:00
.
This commit is contained in:
@@ -32,9 +32,8 @@ local rail_support_pole = {
|
|||||||
|
|
||||||
if settings.startup['PHI-CT'].value then
|
if settings.startup['PHI-CT'].value then
|
||||||
local function trash_chest_creation(event)
|
local function trash_chest_creation(event)
|
||||||
local entity = event.created_entity or event.entity
|
event.entity.infinity_container_filters = {}
|
||||||
entity.infinity_container_filters = {}
|
event.entity.remove_unfiltered_items = true
|
||||||
entity.remove_unfiltered_items = true
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local filter = {{filter='name', name='trash-chest', mode='and'}, {filter='type', type='infinity-container', mode='and'}}
|
local filter = {{filter='name', name='trash-chest', mode='and'}, {filter='type', type='infinity-container', mode='and'}}
|
||||||
|
|||||||
Reference in New Issue
Block a user