From f964f4a11f79647081dd7ac53fa29a19ced99efe Mon Sep 17 00:00:00 2001 From: EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> Date: Fri, 8 Jul 2022 12:29:43 +0800 Subject: fixes didnt .getValue() me pepaga sorry --- features/slayers/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'features') 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")) { -- cgit