From 5614e98cb4112c5d9ef9191659f51bb9e308b11b Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 24 Jun 2026 18:45:59 +0900 Subject: [PATCH] . --- PHI-CL/control/chest.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/PHI-CL/control/chest.lua b/PHI-CL/control/chest.lua index 5be6d22..8fd9fe5 100644 --- a/PHI-CL/control/chest.lua +++ b/PHI-CL/control/chest.lua @@ -1,15 +1,7 @@ local main = {} function main.build(event) - if event.entity.type ~= 'logistic-container' then - return - end - - if event.entity.logistic_mode ~= 'storage' then - return - end - - if not event.entity.has_items_inside() then + if event.entity.type ~= 'logistic-container' or not event.entity.logistic_mode or event.entity.logistic_mode ~= 'storage' then return end