diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index fcc6817..992dfc0 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -1,3 +1,10 @@ +--------------------------------------------------------------------------------------------------- +Version: 3.0.128 +Date: 2025-10-12 + + Changes: + - [GM] Fixed a crash related to the previous changes of proxy container. + --------------------------------------------------------------------------------------------------- Version: 3.0.127 Date: 2025-10-05 diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index b562890..c386dba 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -137,7 +137,7 @@ local function entity_build(event) return end - if event.entity.type == 'proxy-container' and event.entity.name == 'proxy-cargo-landing-chest' then + if event.entity.type == 'proxy-container' and event.entity.name == 'proxy-cargo-landing-chest' and prototypes.entity['cargo-landing-pad'] then local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'} if not ec then @@ -150,7 +150,7 @@ local function entity_build(event) return end - if event.entity.type == 'cargo-landing-pad' and event.entity.name == 'cargo-landing-pad' then + if event.entity.type == 'cargo-landing-pad' and event.entity.name == 'cargo-landing-pad' and prototypes.entity['proxy-cargo-landing-chest'] then local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'} if #ec > 1 then @@ -340,7 +340,7 @@ script.on_nth_tick(1800, function(_) end for _, s in pairs(game.surfaces) do - local c = s.find_entities_filtered{type = 'constant-combinator', name = 'super-combinator'} + local c = s.find_entities_filtered{type='constant-combinator', name='super-combinator'} if c and #c > 0 then for _, sc in pairs(c) do diff --git a/PHI-CL/info.json b/PHI-CL/info.json index 075bc75..2d070ad 100644 --- a/PHI-CL/info.json +++ b/PHI-CL/info.json @@ -1,8 +1,8 @@ { "name": "PHI-CL", - "version": "3.0.127", + "version": "3.0.128", "factorio_version": "2.0", - "date": "2025-10-05", + "date": "2025-10-12", "title": "Phidias Collection", "author": "PHIDIAS0303", "contributers": "",