From 2c4a87155d183ca2e1ab1f675a4ca9f173aa8334 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 24 Jun 2026 19:00:00 +0900 Subject: [PATCH] . --- PHI-CL/control/chest.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHI-CL/control/chest.lua b/PHI-CL/control/chest.lua index 34eb2d4..7ccee57 100644 --- a/PHI-CL/control/chest.lua +++ b/PHI-CL/control/chest.lua @@ -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