From 73829d9e24e3d98104393624da7dade3a7eb03a1 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 1 Jun 2022 21:52:26 -0500 Subject: Revert "Re-enable achievements" This reverts commit fb4d24aba38f8dfc6988ff800e0451702db11790. --- src/cleaners/achievements.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cleaners/achievements.ts') diff --git a/src/cleaners/achievements.ts b/src/cleaners/achievements.ts index edb4d07..8ab3445 100644 --- a/src/cleaners/achievements.ts +++ b/src/cleaners/achievements.ts @@ -27,6 +27,10 @@ export interface Achievements { } export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataResponse['player']): Promise { + // temporarily disabled because this might be causing high memory usage? + return { tiered: [], challenge: [] } + + if (!data.achievements) { return { tiered: [], challenge: [] } } -- cgit