diff options
author | EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> | 2022-07-08 12:29:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 12:29:43 +0800 |
commit | f964f4a11f79647081dd7ac53fa29a19ced99efe (patch) | |
tree | 7a47462684ab2c2e96f67fc748a134949f5ab4c7 /features | |
parent | f5b62ec0ad78a87352297413e42a5d5fdce8c290 (diff) | |
download | SoopyV2-f964f4a11f79647081dd7ac53fa29a19ced99efe.tar.gz SoopyV2-f964f4a11f79647081dd7ac53fa29a19ced99efe.tar.bz2 SoopyV2-f964f4a11f79647081dd7ac53fa29a19ced99efe.zip |
fixes
didnt .getValue() me pepaga sorry
Diffstat (limited to 'features')
-rw-r--r-- | features/slayers/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index d8d6874..650745a 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -145,7 +145,7 @@ class Slayers extends Feature { } this.lastBossSlain = Date.now(); - if (this.summonsLowWarning.getValue() && this.warnAfterBoss) { + if (this.summonFeatureMaster.getValue() && this.summonsLowWarning.getValue() && this.warnAfterBoss) { this.warnAfterBoss = false let delayForWarn = parseInt(this.warnDelay.getValue()) * 1000 if (delayForWarn < 0 || delayForWarn > 10000) { @@ -176,9 +176,9 @@ class Slayers extends Feature { } this.registerChat("&r&aYou have spawned your ${soul} &r&asoul! &r&d(${mana} Mana)&r", (soul, mana) => { - if (!this.summonFeatureMaster) { + if (!this.summonFeatureMaster.getValue()) { return - } else if (!this.summonsHideNametag && !this.summonsShowNametag && !this.summonHPGuiElement && !this.summonsLowWarning) { + } else if (!this.summonsHideNametag.getValue() && !this.summonsShowNametag.getValue() && !this.summonHPGuiElement.getValue() && !this.summonsLowWarning.getValue()) { return } if (!soul.removeFormatting().includes("Tank Zombie")) { |