diff --git a/apis/chestAdapter18.lua b/apis/chestAdapter18.lua index 1bcb5c3..474ded1 100644 --- a/apis/chestAdapter18.lua +++ b/apis/chestAdapter18.lua @@ -45,7 +45,7 @@ function ChestAdapter:getItemDetails(index, item) end return detail else - local detail = self.findItem(item) + local detail = self.findItems(item) if detail then return detail.getMetadata() end