aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/networkUtils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/networkUtils.js b/utils/networkUtils.js
index 372ab06..0233ac0 100644
--- a/utils/networkUtils.js
+++ b/utils/networkUtils.js
@@ -15,6 +15,7 @@ if (!global.networkUtilsThingSoopy) {
// if(theUrl.includes("soopymc.my.to")){
// throw new Error("Testing to ensure the module works when my server is down")
// }
+ // Thread.sleep(1000) //simulating high ping
let conn = new jURL(theUrl).openConnection()
conn.setRequestProperty("User-Agent", userAgent)