From 60b6e03a01761575b7da4cb1463b15ea5fd4a4ae Mon Sep 17 00:00:00 2001 From: EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:04:03 +0800 Subject: removed duplicated parts some codes were duplicated after i pasted them onto last commit, idk why --- features/slayers/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/features/slayers/index.js b/features/slayers/index.js index 044a55d..d8d6874 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -410,13 +410,6 @@ class Slayers extends Feature { if (nameSplit[0] === `${Player.getName()}'s` && `${nameSplit[nameSplit.length - 3]} ${nameSplit[nameSplit.length - 2]}` === "Tank Zombie" && !this.summonEntity?.map(a => a.getUUID().toString()).includes(name.getUUID().toString())) { this.summonEntity.push(name) } - 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]); - } - if (this.betterHideDeadEntity.getValue()) { - if (nameSplit[nameSplit.length - 1][0] === "0" && nameSplit[nameSplit.length - 1].endsWith("❤")) { - name.getEntity()[m.setAlwaysRenderNameTag](false) - } } if (this.MinibossOffWhenBoss.getValue() && !this.bossSpawnedMessage) { -- cgit