From 59a6730bc0c85d82d9546ec16944768e677eb921 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 20 Jan 2022 02:40:21 +0800 Subject: make dungeonsolvers only load ping when doing dungeons --- features/dungeonSolvers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/dungeonSolvers') 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; -- cgit