aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com>2022-08-25 20:26:49 +0800
committerGitHub <noreply@github.com>2022-08-25 20:26:49 +0800
commit90fa7fd9eec064912ba1fbd0760f1b425bc96e9c (patch)
tree0408328506c9d9c9aa908fd1088056be5d15370a
parent4df86b6a7ef1069db7d4978696588f852c6526c8 (diff)
downloadSoopyV2-90fa7fd9eec064912ba1fbd0760f1b425bc96e9c.tar.gz
SoopyV2-90fa7fd9eec064912ba1fbd0760f1b425bc96e9c.tar.bz2
SoopyV2-90fa7fd9eec064912ba1fbd0760f1b425bc96e9c.zip
-if + or
-rw-r--r--features/slayers/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index 2a19982..c51cb60 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -505,7 +505,7 @@ class Slayers extends Feature {
}
}
}
- if (this.MinibossOffWhenBoss.getValue() ? !this.bossSpawnedMessage : true) {
+ if ((this.MinibossOffWhenBoss.getValue() && !this.bossSpawnedMessage) || true) {
if (this.BoxAroundMiniboss.getValue() && !this.bossSpawnedMessage && this.Miniboss[this.lastSlayerType]?.has(MobName) && !this.minibossEntity.map(a => a[0].getUUID().toString()).includes(name.getUUID().toString())) {
this.minibossEntity.push([name, this.lastSlayerType]);
}