From 447a1bc2fc7d454f477c724aec437bbb41f1fe74 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Thu, 6 Feb 2025 18:40:34 +0300 Subject: [PATCH] Update mc-protocol.ts --- src/mineflayer/mc-protocol.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mineflayer/mc-protocol.ts b/src/mineflayer/mc-protocol.ts index db970e55..bb0f3d05 100644 --- a/src/mineflayer/mc-protocol.ts +++ b/src/mineflayer/mc-protocol.ts @@ -21,7 +21,7 @@ customEvents.on('mineflayerBotCreated', () => { setInterval(() => { if (!bot || !lastPacketTime) return - if (Date.now() - lastPacketTime < 6000) { + if (Date.now() - lastPacketTime < 1000) { gameAdditionalState.noConnection = false return }