mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -137,7 +137,7 @@ local function entity_build(event)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if event.entity.type == 'proxy-cargo-landing-chest' then
|
if event.entity.type == 'proxy-container' and event.entity.name == 'proxy-cargo-landing-chest' then
|
||||||
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
||||||
|
|
||||||
if not ec then
|
if not ec then
|
||||||
|
|||||||
Reference in New Issue
Block a user