mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-04 15:45:19 +02:00
cancelresume on death
This commit is contained in:
parent
f9c41246f1
commit
271f5672f4
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ export class Agent {
|
|||
process.exit(1);
|
||||
});
|
||||
this.bot.on('death', () => {
|
||||
this.coder.cancelResume();
|
||||
this.coder.stop();
|
||||
});
|
||||
this.bot.on('kicked', (reason) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue