bug fixes storage mgr

This commit is contained in:
kepler155c@gmail.com
2017-04-22 00:51:27 -04:00
parent c57ff1541b
commit 8774d98009
5 changed files with 82 additions and 29 deletions

View File

@@ -48,12 +48,15 @@ function RefinedProvider:getCachedItemDetails(item)
detail.id = detail.name
detail.qty = detail.count
detail.display_name = detail.displayName
detail.nbtHash = item.nbtHash
self.cache[key] = detail
end
end
end
return detail
if detail then
return Util.shallowCopy(detail)
end
end
function RefinedProvider:listItems()