mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 15:47:57 -05:00
working keepalive Real.
This commit is contained in:
parent
b7152cbde4
commit
486cf81def
1 changed files with 4 additions and 0 deletions
4
index.js
4
index.js
|
@ -350,6 +350,10 @@ function main() {
|
|||
// onerror('end event: ' + util.inspect(reason).replaceAll('runner', 'chayapak1'));
|
||||
});
|
||||
|
||||
bot._client.on('keep_alive', (packet) => {
|
||||
bot.write('keep_alive', {keepAliveId: packet.keepAliveId});
|
||||
});
|
||||
|
||||
bot._client.on('tab_complete', (packet) => {
|
||||
bot.tabcompleteplayers = packet.matches;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue