aboutsummaryrefslogtreecommitdiff
path: root/features/slayers
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-03 15:41:40 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-03 15:41:40 +0800
commit578a7e1720c0c85b1023151172eb8e077f5bf126 (patch)
treeaf7096c0a2577d4ef6665c2ccaac537e70977054 /features/slayers
parentac1fb62d61fa6a16a43667ac4f16c324f806a54e (diff)
downloadSoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.tar.gz
SoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.tar.bz2
SoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.zip
+ fix there being multiple of the same hud element in the edit gui locations button sometimes
Diffstat (limited to 'features/slayers')
-rw-r--r--features/slayers/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index 6c40115..c83e924 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -35,7 +35,7 @@ class Slayers extends Feature {
this.slayerXpElement = new HudTextElement()
.setText("&6Slayer&7> &fLoading...")
.setToggleSetting(this.slayerXpGuiElement)
- .setLocationSetting(new LocationSetting("Slayer Xp Location", "Allows you to edit the location of you current slayer xp", "slayer_xp_location", this, [10, 50, 1, 1]).requires(this.slayerXpGuiElement).editTempText("&aEnderman&7> &d&l2,147,483,647 XP").contributor("EmeraldMerchant"));
+ .setLocationSetting(new LocationSetting("Slayer Xp Location", "Allows you to edit the location of you current slayer xp", "slayer_xp_location", this, [10, 50, 1, 1]).requires(this.slayerXpGuiElement).editTempText("&6Enderman&7> &d&l2,147,483,647 XP").contributor("EmeraldMerchant"));
this.hudElements.push(this.slayerXpElement);
this.rcmDaeAxeSupport = new ToggleSetting("Eman Hyp hits before Dae axe swapping", "This will tell u how many clicks with hyp is needed before swapping to dae axe", true, "eman_rcm_support", this).requires(this.emanHpGuiElement).contributor("EmeraldMerchant");
@@ -294,7 +294,7 @@ class Slayers extends Feature {
this.todoE2 = [];
if (this.slayerXpGuiElement.getValue() && this.lastSlayerType) {
- this.slayerXpElement.setText(`&6${this.lastSlayerType}&7> &f${numberWithCommas(this.slayerExp[this.lastSlayerType])} XP`);
+ this.slayerXpElement.setText(`&6${this.lastSlayerType}&7> &d&l${numberWithCommas(this.slayerExp[this.lastSlayerType])} XP`);
} else {
this.slayerXpElement.setText(``);
}