Update mc-protocol.ts
This commit is contained in:
parent
71bab78ebf
commit
447a1bc2fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue