diff options
-rw-r--r-- | features/slayers/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index 3480982..1b890d4 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -558,6 +558,10 @@ class Slayers extends Feature { } }); } + if (this.MinibossOffWhenBoss.getValue() && this.bossSpawnedMessage && (this.minibossEntity.length > 0 || this.areaMiniEntity.length > 0)) { + this.minibossEntity.forEach(m => m.delete()) + this.areaMiniEntity.forEach(m => m.delete()) + } } tick() { |