diff options
author | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-14 20:03:39 -0600 |
---|---|---|
committer | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-14 20:03:39 -0600 |
commit | 09bbeda4e3b0650db2b309ee79f2146a873f0a5b (patch) | |
tree | 0b09ff3fc478795af85b3f72c1cd4780c978895b /src | |
parent | 84778bb94747390fbcc83a3d6a5bd69286208f61 (diff) | |
download | skyblock-api-09bbeda4e3b0650db2b309ee79f2146a873f0a5b.tar.gz skyblock-api-09bbeda4e3b0650db2b309ee79f2146a873f0a5b.tar.bz2 skyblock-api-09bbeda4e3b0650db2b309ee79f2146a873f0a5b.zip |
fix mvp++
Diffstat (limited to 'src')
-rw-r--r-- | src/cleaners/rank.ts | 4 |
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++' |