Enhance inventory scanning: integrate state version bumping in scanInventory function

This commit is contained in:
MayaTheShy
2026-03-22 01:40:09 -04:00
parent 2bcb907914
commit 491abf891f

View File

@@ -893,9 +893,8 @@ local function refreshFurnaceStatus()
end end
end end
cache.furnaceStatus = status cache.furnaceStatus = status
end bumpStateVersion()
end(deviceName)
local function scanInventory(deviceName)
local inv = wrapCached(deviceName) local inv = wrapCached(deviceName)
if not inv then return {} end if not inv then return {} end
local result = {} local result = {}