mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-16 21:50:41 +09:00
.
This commit is contained in:
1 parent
f410df7ac0
commit
2c4a87155d
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
||||
local main = {}
|
||||
|
||||
function main.build(event)
|
||||
if event.entity.type ~= 'logistic-container' or event.entity.prototype.logistic_mode ~= 'storage' then
|
||||
if event.entity.type ~= 'logistic-container' or not event.entity.prototype or not event.entity.prototype.logistic_mode or event.entity.prototype.logistic_mode ~= 'storage' then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user