From 0679a5c7f51923b77b95f2e34b1d0107462db8db Mon Sep 17 00:00:00 2001 From: EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> Date: Sun, 11 Sep 2022 20:30:36 +0800 Subject: oops! "message": "\"assignActualEmanBoss\" is not defined.", --- 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 590c5b6..2d8e1fa 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -531,7 +531,7 @@ class Slayers extends Feature { this.cannotFindEmanBoss = false } else if (nameRemoveFormat.includes("Voidgloom Seraph") && ((name.getX() - Player.getX()) ** 2 + (name.getY() - Player.getY()) ** 2 + (name.getZ() - Player.getZ()) ** 2 < 25)) { this.emanBoss = name - assignActualEmanBoss(this.emanBoss) + this.assignActualEmanBoss(this.emanBoss) this.cannotFindEmanBoss = false } } @@ -622,12 +622,12 @@ class Slayers extends Feature { if (e[m.getCustomNameTag]() && e[m.getCustomNameTag]().includes("Voidgloom Seraph")) { if (Date.now() - this.nextIsBoss < 3000) { this.emanBoss = new Entity(e); - assignActualEmanBoss(this.emanBoss) + this.assignActualEmanBoss(this.emanBoss) this.nextIsBoss = false; } if (this.cannotFindEmanBoss && ((e[f.posX.Entity] - Player.getX()) ** 2 + (e[f.posY.Entity] - Player.getY()) ** 2 + (e[f.posZ.Entity] - Player.getZ()) ** 2 < 5)) { this.emanBoss = new Entity(e); - assignActualEmanBoss(this.emanBoss) + this.assignActualEmanBoss(this.emanBoss) this.cannotFindEmanBoss = false } -- cgit