Replace getItemMeta with getItemDetail

This commit is contained in:
Marcelsky
2023-03-25 14:50:42 +01:00
committed by Kan18
parent 1ae380d3b1
commit 4321f336db
3 changed files with 5 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ function page:enable()
local list = { }
for k, item in pairs(inv) do
item = itemDB:get(item, function() return ni.getInventory().getItemMeta(k) end)
item = itemDB:get(item, function() return ni.getInventory().getItemDetail(k) end)
local key = itemDB:makeKey(item)
if not list[key] then
item.key = key