This commit is contained in:
2026-06-24 19:00:00 +09:00
parent f410df7ac0
commit 2c4a87155d
+1 -1
View File
@@ -1,7 +1,7 @@
local main = {} local main = {}
function main.build(event) 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 return
end end