aboutsummaryrefslogtreecommitdiff
path: root/features/dungeonSolvers
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-01 19:37:41 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-01 19:37:41 +0800
commit819ccf065c1c96600ee62871ac92ebaf1f610260 (patch)
tree668b0c549e1324b268e7d495161437196ba24fc5 /features/dungeonSolvers
parentabbfac0597eaa1a968102ffb64d94bc61424f520 (diff)
parent5b7a19af30013f62692b3c132ffc939415cd9e9b (diff)
downloadSoopyV2-819ccf065c1c96600ee62871ac92ebaf1f610260.tar.gz
SoopyV2-819ccf065c1c96600ee62871ac92ebaf1f610260.tar.bz2
SoopyV2-819ccf065c1c96600ee62871ac92ebaf1f610260.zip
Merge branch 'master' of https://github.com/Soopyboo32/SoopyV2
Diffstat (limited to 'features/dungeonSolvers')
-rw-r--r--features/dungeonSolvers/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js
index 8b0e998..14f8b88 100644
--- a/features/dungeonSolvers/index.js
+++ b/features/dungeonSolvers/index.js
@@ -584,7 +584,7 @@ class DungeonSolvers extends Feature {
}
step2() {
- if (this.bearSpawning && this.bearSpawning > 0) {
+ if (this.bearSpawning && this.bearSpawning > 0 && this.isInDungeon()) {
this.spiritBearSpawnElement.setText("&dBear spawned in: &c" + (Math.max(0, this.bearSpawning - Date.now()) / 1000).toFixed(2) + "s");
} else {
this.spiritBearSpawnElement.setText("");