diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cleaners/achievements.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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<Achievements> { + // temporarily disabled because this might be causing high memory usage? + return { tiered: [], challenge: [] } + + if (!data.achievements) { return { tiered: [], challenge: [] } } |