diff --git a/apis/chestAdapter18.lua b/apis/chestAdapter18.lua index 45a7027..1bcb5c3 100644 --- a/apis/chestAdapter18.lua +++ b/apis/chestAdapter18.lua @@ -27,11 +27,7 @@ function ChestAdapter:init(args) end if chest.listAvailableItems then - chest.list = chest.listAvailableItems - end - - if chest.list then - return chest + self.list = chest.listAvailableItems end end