mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-19 05:53:12 +09:00
.
This commit is contained in:
1 parent
e0e1913328
commit
280d9dbf1f
2 files changed
+7
-9
No files matched your search
+6
-8
@@ -109,16 +109,14 @@ local function entity_build(event)
|
||||
return
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT'].value then
|
||||
if event.entity.type == 'infinity-container' and event.entity.name == 'trash-chest' then
|
||||
event.entity.remove_unfiltered_items = true
|
||||
if event.entity.type == 'infinity-container' and event.entity.name == 'trash-chest' then
|
||||
event.entity.remove_unfiltered_items = true
|
||||
|
||||
elseif event.entity.type == 'infinity-pipe' and event.entity.name == 'trash-pipe' then
|
||||
event.entity.set_infinity_pipe_filter(nil)
|
||||
end
|
||||
|
||||
return
|
||||
elseif event.entity.type == 'infinity-pipe' and event.entity.name == 'trash-pipe' then
|
||||
event.entity.set_infinity_pipe_filter(nil)
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
local function entity_destroy(event)
|
||||
|
||||
Reference in new issue
Block a user