Enhance inventory management: add scanInventory function and improve furnace status refresh

This commit is contained in:
MayaTheShy
2026-03-22 01:40:13 -04:00
parent 491abf891f
commit 7ad68885d3

View File

@@ -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 = {}