diff options
Diffstat (limited to 'src/cleaners/achievements.ts')
-rw-r--r-- | src/cleaners/achievements.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cleaners/achievements.ts b/src/cleaners/achievements.ts index 367e14a..9f499f1 100644 --- a/src/cleaners/achievements.ts +++ b/src/cleaners/achievements.ts @@ -56,10 +56,11 @@ export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataRe tier, next, amount, - description: achievementData.description.replace(/%s/g, (achievementData.tiers[Math.max(0, tier - 1)].amount).toString()) + // description: achievementData.description.replace(/%s/g, (achievementData.tiers[Math.max(0, tier - 1)].amount).toString()) + description: achievementData.description }) } - tieredAchievements.sort((a, b) => (b.amount ?? 0) - (a.amount ?? 0)) + // tieredAchievements.sort((a, b) => (b.amount ?? 0) - (a.amount ?? 0)) const unlockedChallengeAchievements: ChallengeAchievement[] = [] const lockedChallengeAchievements: ChallengeAchievement[] = [] |