diff options
author | mat <github@matdoes.dev> | 2022-06-01 21:52:26 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-06-01 21:52:26 -0500 |
commit | 73829d9e24e3d98104393624da7dade3a7eb03a1 (patch) | |
tree | 0104fefb9b8ab79a98edeff912007fb04340bc34 /src | |
parent | fb4d24aba38f8dfc6988ff800e0451702db11790 (diff) | |
download | skyblock-api-73829d9e24e3d98104393624da7dade3a7eb03a1.tar.gz skyblock-api-73829d9e24e3d98104393624da7dade3a7eb03a1.tar.bz2 skyblock-api-73829d9e24e3d98104393624da7dade3a7eb03a1.zip |
Revert "Re-enable achievements"
This reverts commit fb4d24aba38f8dfc6988ff800e0451702db11790.
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: [] } } |