builder error on resupply page

This commit is contained in:
kepler155c
2018-04-03 13:11:38 -04:00
parent b712accfc0
commit 0bda31a574
3 changed files with 6 additions and 7 deletions

View File

@@ -110,7 +110,8 @@ function ChestAdapter:getItemInfo(item)
self:listItems()
end
local key = table.concat({ item.name, item.damage, item.nbtHash }, ':')
return self.cache[key]
local items = self.cache or { }
return items[key]
end
function ChestAdapter:getPercentUsed()