aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/achievements.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners/achievements.ts')
-rw-r--r--src/cleaners/achievements.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cleaners/achievements.ts b/src/cleaners/achievements.ts
index da0174e..8410d4e 100644
--- a/src/cleaners/achievements.ts
+++ b/src/cleaners/achievements.ts
@@ -32,7 +32,6 @@ export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataRe
}
const gameAchievements: typedHypixelApi.AchievementsResponse['achievements'] = await fetchAchievements()
- return { tiered: [], challenge: [] }
for (const [gameId, achievementsData] of Object.entries(gameAchievements)) {
if (gameId !== 'skyblock') continue
@@ -78,8 +77,11 @@ export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataRe
lockedChallengeAchievements.push(achievement)
}
+ // temporarily disabled
+ return { tiered: [], challenge: [] }
return {
- tiered: tieredAchievements, challenge: [
+ tiered: tieredAchievements,
+ challenge: [
...unlockedChallengeAchievements,
...lockedChallengeAchievements
]