diff options
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r-- | features/slayers/index.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index a3ae2d5..d8d6874 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -394,11 +394,10 @@ class Slayers extends Feature { if (this.BoxAroundMiniboss.getValue() || this.betterHideDeadEntity.getValue() || this.summonsHideNametag.getValue() || this.summonsShowNametag.getValue() || this.summonsLowWarning.getValue()) { World.getAllEntitiesOfType(net.minecraft.entity.item.EntityArmorStand).forEach((name) => { if (this.cannotFindEmanBoss) { - if (this.bossSpawnedMessage) { + if (!this.bossSpawnedMessage) { this.emanBoss = undefined this.cannotFindEmanBoss = false - } - if (name.getName().removeFormatting().includes("Voidgloom Seraph") && ((name.getX() - Player.getX()) ** 2 + (name.getY() - Player.getY()) ** 2 + (name.getZ() - Player.getZ()) ** 2 < 25)) { + } else if (name.getName().removeFormatting().includes("Voidgloom Seraph") && ((name.getX() - Player.getX()) ** 2 + (name.getY() - Player.getY()) ** 2 + (name.getZ() - Player.getZ()) ** 2 < 25)) { this.emanBoss = name this.cannotFindEmanBoss = false } |