From b58c986f5a6cabb93e75a8294ed3adfe37291cc6 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 25 Sep 2022 09:14:29 +0800 Subject: fix formatting on bestiary display --- src/features/bestiary/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/features/bestiary/index.js b/src/features/bestiary/index.js index 8d00122..e9106c5 100644 --- a/src/features/bestiary/index.js +++ b/src/features/bestiary/index.js @@ -115,7 +115,7 @@ class Bestiary extends Feature { getBestiaryCount(id) { if (!this.bestiaryData[id]) return "???" - return `${this.bestiaryData[id].tier}&7:&f ${this.bestiaryData[id].killsThisTier}&7/&f${this.bestiaryData[id].killsForNext}` + return `${this.bestiaryData[id].tier}&7:&f ${numberWithCommas(this.bestiaryData[id].killsThisTier)}&7/&f${numberWithCommas(this.bestiaryData[id].killsForNext)}` } updateHudElements() { @@ -132,7 +132,7 @@ class Bestiary extends Feature { let type = stat.type.getValue() - stat.textElement.setText(`&6${this.bestiaryStatTypes[type]}&7> &f${numberWithCommas(this.getBestiaryCount(type))}`) + stat.textElement.setText(`&6${this.bestiaryStatTypes[type]}&7> &f${this.getBestiaryCount(type)}`) } else { stat.textElement.setText("") } -- cgit