From 7ad68885d3daaf898422665093594228fb8ea03e Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 22 Mar 2026 01:40:13 -0400 Subject: [PATCH] Enhance inventory management: add scanInventory function and improve furnace status refresh --- inventoryManager.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inventoryManager.lua b/inventoryManager.lua index 46ab9db..43e2e45 100644 --- a/inventoryManager.lua +++ b/inventoryManager.lua @@ -894,7 +894,9 @@ local function refreshFurnaceStatus() end cache.furnaceStatus = status bumpStateVersion() -end(deviceName) +end + +local function scanInventory(deviceName) local inv = wrapCached(deviceName) if not inv then return {} end local result = {}