From 94250b56c93364bfb292e974ac2be71b385f71fa Mon Sep 17 00:00:00 2001
From: Gabriel Tofvesson <gabriel@tofvesson.se>
Date: Fri, 4 Oct 2024 00:37:25 +0200
Subject: [PATCH] Make trapped chest homogeneous

---
 itemcontroller.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/itemcontroller.lua b/itemcontroller.lua
index 909df6c..fb81e49 100644
--- a/itemcontroller.lua
+++ b/itemcontroller.lua
@@ -70,7 +70,7 @@ local function loadState(fname, node)
 end
 
 
-local accessNode = Chest:fromPeripheral("minecraft:trapped_chest")
+local accessNode = Chest:fromPeripheral("minecraft:trapped_chest", true)
 local controller = loadState(CACHE_FILE, accessNode)
 local monitor = peripheral.find("monitor")