aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners')
-rw-r--r--src/cleaners/rank.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cleaners/rank.ts b/src/cleaners/rank.ts
index bd39088..d565502 100644
--- a/src/cleaners/rank.ts
+++ b/src/cleaners/rank.ts
@@ -37,10 +37,10 @@ export function cleanRank({
color = minecraftColorCodes[colored.match(/§./)[0][1]]
name = colored.replace(/§./g, '').replace(/[\[\]]/g, '')
} else {
- name = rank
+ name = monthlyPackageRank
+ || rank
|| newPackageRank?.replace('_PLUS', '+')
|| packageRank?.replace('_PLUS', '+')
- || monthlyPackageRank
// MVP++ is called Superstar for some reason
if (name === 'SUPERSTAR') name = 'MVP++'