diff options
author | mat-1 <github@matdoes.dev> | 2021-02-15 02:04:09 +0000 |
---|---|---|
committer | mat-1 <github@matdoes.dev> | 2021-02-15 02:04:09 +0000 |
commit | 2c1fa08673548af87a860b69aa602bc509c56b1c (patch) | |
tree | d83fd6886d334601d28f8b808a4a705af820f093 /build | |
parent | 09bbeda4e3b0650db2b309ee79f2146a873f0a5b (diff) | |
download | skyblock-api-2c1fa08673548af87a860b69aa602bc509c56b1c.tar.gz skyblock-api-2c1fa08673548af87a860b69aa602bc509c56b1c.tar.bz2 skyblock-api-2c1fa08673548af87a860b69aa602bc509c56b1c.zip |
Compiled TS into JS
Diffstat (limited to 'build')
-rw-r--r-- | build/cleaners/rank.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/cleaners/rank.js b/build/cleaners/rank.js index ea8af7e..2b8fb77 100644 --- a/build/cleaners/rank.js +++ b/build/cleaners/rank.js @@ -25,10 +25,10 @@ function cleanRank({ packageRank, newPackageRank, monthlyPackageRank, rankPlusCo name = colored.replace(/ยง./g, '').replace(/[\[\]]/g, ''); } else { - name = rank + name = monthlyPackageRank + || rank || (newPackageRank === null || newPackageRank === void 0 ? void 0 : newPackageRank.replace('_PLUS', '+')) - || (packageRank === null || packageRank === void 0 ? void 0 : packageRank.replace('_PLUS', '+')) - || monthlyPackageRank; + || (packageRank === null || packageRank === void 0 ? void 0 : packageRank.replace('_PLUS', '+')); // MVP++ is called Superstar for some reason if (name === 'SUPERSTAR') name = 'MVP++'; |