diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 14:18:46 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 14:18:46 +0800 |
commit | e55c602f8d080b32f561a013665b9904d4103dea (patch) | |
tree | a353c4cc62eb2b56cb498ab70b14c4eab7f8a134 /features/slayers/index.js | |
parent | 08d0f55a47a6b0ac3c4b0d8174bc1bf5b3c94271 (diff) | |
parent | 677272b126ba3a52d79db5357439827a658afbfb (diff) | |
download | SoopyV2-e55c602f8d080b32f561a013665b9904d4103dea.tar.gz SoopyV2-e55c602f8d080b32f561a013665b9904d4103dea.tar.bz2 SoopyV2-e55c602f8d080b32f561a013665b9904d4103dea.zip |
Merge branch 'master' of https://github.com/Soopyboo32/SoopyV2
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r-- | features/slayers/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index d9e2ecc..3155e53 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -500,7 +500,7 @@ class Slayers extends Feature { if (!this.bossSpawnedMessage && e instanceof net.minecraft.entity.item.EntityArmorStand) { let mobName = `${e[m.getCustomNameTag]().removeFormatting().split(" ")[0]} ${e[m.getCustomNameTag]().removeFormatting().split(" ")[1]}` - if (this.Miniboss[this.lastSlayerType].has(mobName)) { + if (this.Miniboss[this.lastSlayerType]?.has(mobName)) { if (this.BoxAroundMiniboss.getValue() && !this.minibossEntity.map(a => a[0].getUUID().toString()).includes(e[m.getEntityId.Entity]().toString())) { this.minibossEntity.push([new Entity(e), this.lastSlayerType]); } |