diff --git a/config.json b/config.json index 05bc6538f..a64c1d73d 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "defaultHost": "pjs.deptofcraft.com", + "defaultHost": "kaboom.pw", "defaultHostPort": 25565, "defaultProxy": "", "defaultProxyPort": 0, diff --git a/index.js b/index.js index 027ce4dde..8a5358ab0 100644 --- a/index.js +++ b/index.js @@ -179,13 +179,9 @@ async function connect (options) { const errorAbortController = new AbortController() window.addEventListener('unhandledrejection', (e) => { handleError(e.reason) - }, { - signal: errorAbortController }) window.addEventListener('error', (e) => { handleError(e.message) - }, { - signal: errorAbortController.signal }) const bot = mineflayer.createBot({ host,