mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
missing new line
This commit is contained in:
parent
9fc6f69140
commit
a348148fd7
1 changed files with 1 additions and 0 deletions
1
bot.js
1
bot.js
|
@ -166,6 +166,7 @@ async function createBot(server, config, getBots, dcclient, rl) {
|
|||
bot._client.on('keep_alive', (packet) => {
|
||||
bot.write('keep_alive', {keepAliveId: packet.keepAliveId});
|
||||
});
|
||||
|
||||
bot._client.on('game_state_change', () => {
|
||||
bot.write('client_command', {payload: 0});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue