From 90fa7fd9eec064912ba1fbd0760f1b425bc96e9c Mon Sep 17 00:00:00 2001 From: EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> Date: Thu, 25 Aug 2022 20:26:49 +0800 Subject: -if + or --- features/slayers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') 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]); } -- cgit