diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-20 02:40:21 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-20 02:40:21 +0800 |
commit | 59a6730bc0c85d82d9546ec16944768e677eb921 (patch) | |
tree | c8568dd19d52c1253ddd00b15e3fd3daecccfbd6 /features/dungeonSolvers/index.js | |
parent | e96b7b4610441603bc29e118a36c539903e96d78 (diff) | |
download | SoopyV2-59a6730bc0c85d82d9546ec16944768e677eb921.tar.gz SoopyV2-59a6730bc0c85d82d9546ec16944768e677eb921.tar.bz2 SoopyV2-59a6730bc0c85d82d9546ec16944768e677eb921.zip |
make dungeonsolvers only load ping when doing dungeons
Diffstat (limited to 'features/dungeonSolvers/index.js')
-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 2757bd0..83c8e24 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -366,7 +366,7 @@ class DungeonSolvers extends Feature { this.todoE = []; - if (Date.now() - this.lastPingCheck > 60000 * 30 || (Date.now() - this.lastPingCheck > 60000 && this.lastPings.includes(undefined))) { + if (Date.now() - this.lastPingCheck > 60000 * 30 || (Date.now() - this.lastPingCheck > 60000 && this.lastPings.includes(undefined)) && this.bloodX!== -1) { this.lastPingCheck = Date.now(); ChatLib.command("whereami"); this.checkingPing = true; |