mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-08 00:05:55 +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);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
this.bot.on('death', () => {
|
this.bot.on('death', () => {
|
||||||
|
this.coder.cancelResume();
|
||||||
this.coder.stop();
|
this.coder.stop();
|
||||||
});
|
});
|
||||||
this.bot.on('kicked', (reason) => {
|
this.bot.on('kicked', (reason) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue