diff options
author | jakeQT <96396730+jakeQT@users.noreply.github.com> | 2022-06-01 12:40:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 12:40:47 +0800 |
commit | 890299501216e3cd8a7c24ffd5439de6d3d28d34 (patch) | |
tree | d8011459b60bb156b30517972c48714cd666f2f2 | |
parent | f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb (diff) | |
download | SoopyV2-890299501216e3cd8a7c24ffd5439de6d3d28d34.tar.gz SoopyV2-890299501216e3cd8a7c24ffd5439de6d3d28d34.tar.bz2 SoopyV2-890299501216e3cd8a7c24ffd5439de6d3d28d34.zip |
fix bear spawning timer showing outside dungeon
fix bear spawning timer showing outside dungeon
-rw-r--r-- | features/dungeonSolvers/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index 34c236f..2ec0267 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -581,7 +581,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(""); |