Update mc-protocol.ts

This commit is contained in:
Vitaly 2025-02-06 18:40:34 +03:00 committed by GitHub
commit 447a1bc2fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}