mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -32,7 +32,7 @@ local rail_support_pole = {
|
||||
|
||||
if settings.startup['PHI-CT'].value then
|
||||
local function trash_chest_creation(event)
|
||||
(event.entity or event.created_entity).remove_unfiltered_items = true
|
||||
event.entity.remove_unfiltered_items = true
|
||||
end
|
||||
|
||||
script.on_event(defines.events.on_built_entity, trash_chest_creation, {{filter='name', name='trash-chest'}})
|
||||
|
||||
Reference in New Issue
Block a user