diff --git a/pokemongo_bot/cell_workers/recycle_items.py b/pokemongo_bot/cell_workers/recycle_items.py index 0073c6ce54..7bb46e3263 100644 --- a/pokemongo_bot/cell_workers/recycle_items.py +++ b/pokemongo_bot/cell_workers/recycle_items.py @@ -207,7 +207,7 @@ def recycle_excess_category_max(self, category_max, category_items_list): items_to_recycle = self.get_category_items_to_recycle(category_inventory, category_count, category_max) for item in items_to_recycle: action_delay(self.recycle_wait_min, self.recycle_wait_max) - if ItemRecycler(self.bot, inventory.items().get(item[0]), item[1]).work() == WorkerResult.ERROR: + if inventory.items().get(item[0]).recycle(item[1]) == WorkerResult.ERROR: worker_result = WorkerResult.ERROR return worker_result