aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-16 07:57:55 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-16 07:57:55 +0800
commitfad405ad83014a09426aaceb1ef06fd0b01b2c82 (patch)
tree9f453b89ea54e319fb27fc4d1b47ed963de8fa81 /features/globalSettings
parent3de1a8f0ca5b69ed4b4e1aa227b02932b0da38a7 (diff)
downloadSoopyV2-fad405ad83014a09426aaceb1ef06fd0b01b2c82.tar.gz
SoopyV2-fad405ad83014a09426aaceb1ef06fd0b01b2c82.tar.bz2
SoopyV2-fad405ad83014a09426aaceb1ef06fd0b01b2c82.zip
changed some hud element formatting
Diffstat (limited to 'features/globalSettings')
-rw-r--r--features/globalSettings/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index c9861ec..671f59a 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -62,7 +62,7 @@ class GlobalSettings extends Feature {
this.thunderBottleElement = new HudTextElement()
.setText("")
.setToggleSetting(this.thunderBottle)
- .setLocationSetting(new LocationSetting("Thunder Bottle Progress location", "Allows you to change location of this display", "thunder_bottle_location", this, [20, 100, 1, 1]).requires(this.thunderBottle).editTempText(`&5Thunder Bottle &7Charge: &e49,999&6/&e50,000`));
+ .setLocationSetting(new LocationSetting("Thunder Bottle Progress location", "Allows you to change location of this display", "thunder_bottle_location", this, [20, 100, 1, 1]).requires(this.thunderBottle).editTempText(`&6Thunder Charge&7> &f49,999&7/&750,000`));
this.hudElements.push(this.thunderBottleElement);
this.thunderBottleFull = new ToggleSetting("Thunder Bottle Full Alert", "Alert when your thunder bottle is fully charged", false, "thunder_bottle_full", this);
@@ -332,7 +332,7 @@ class GlobalSettings extends Feature {
if (thunder) {
if (ItemName.removeFormatting().includes("Empty Thunder Bottle")) {
let charges = i?.getNBT()?.getCompoundTag("tag")?.getCompoundTag("ExtraAttributes")?.getDouble("thunder_charge")
- thunderText.push("&5Thunder Bottle Charges: &e" + numberWithCommas(charges) + "&6/&e50,000")
+ thunderText.push(`&6Thunder Charge&7> &f${numberWithCommas(charges)}&7/&750,000`)
}
}
}