diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-27 01:43:08 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-27 01:43:08 +0800 |
commit | 00377de547b4033c5c1e7e6c770dd1b85db92de4 (patch) | |
tree | 2d4edeee7bc617f511519c5f617ea45e77a93140 | |
parent | a4802b16112e3bde8998ee6fcafc43a92d50e069 (diff) | |
download | SoopyV2-00377de547b4033c5c1e7e6c770dd1b85db92de4.tar.gz SoopyV2-00377de547b4033c5c1e7e6c770dd1b85db92de4.tar.bz2 SoopyV2-00377de547b4033c5c1e7e6c770dd1b85db92de4.zip |
Make Stat next to name comma value
-rw-r--r-- | features/stat_next_to_name/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/features/stat_next_to_name/index.js b/features/stat_next_to_name/index.js index 014006c..59a84f7 100644 --- a/features/stat_next_to_name/index.js +++ b/features/stat_next_to_name/index.js @@ -3,6 +3,7 @@ import Feature from "../../featureClass/class"; import soopyV2Server from "../../socketConnection"; import SettingBase from "../settings/settingThings/settingBase"; +import * as numberUtils from "../../utils/numberUtils"; class StatNextToName extends Feature { constructor() { @@ -55,7 +56,7 @@ class StatNextToName extends Feature { nameTagString += " &2[" if(stats.usingSoopyv2) nameTagString += "&d⚝&2" if(stats.exists && stats[this.statsThing]){ - nameTagString +=stats[this.statsThing].toFixed(this.decimalPlaces) + nameTagString += numberUtils.numberWithCommas(stats[this.statsThing].toFixed(this.decimalPlaces)) }else{ nameTagString += "?" } |