This commit is contained in:
2025-10-06 03:11:09 +09:00
parent 369d55fcb9
commit 354f1059cc
3 changed files with 12 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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": "",