This commit is contained in:
2025-05-13 20:09:26 +09:00
parent 0627f02426
commit 3208fd5623

View File

@@ -32,8 +32,9 @@ local rail_support_pole = {
if settings.startup['PHI-CT'].value then
local function trash_chest_creation(event)
event.entity.infinity_container_filters = {}
event.entity.remove_unfiltered_items = true
local entity = event.created_entity or event.entity
entity.infinity_container_filters = {}
entity.remove_unfiltered_items = true
end
local filter = {{filter='name', name='trash-chest', mode='and'}, {filter='type', type='infinity-container', mode='and'}}