mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-03 13:55:36 +02:00
Fixed Agent.js error caused by Jules
This commit is contained in:
parent
e9160d928e
commit
5c1a8c46b2
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ export class Agent {
|
|||
|
||||
cleanKill(msg='Killing agent process...', code=1) {
|
||||
// Assuming cleanKill messages don't have images
|
||||
await this.history.add('system', msg, null);
|
||||
this.history.add('system', msg, null);
|
||||
this.bot.chat(code > 1 ? 'Restarting.': 'Exiting.');
|
||||
this.history.save();
|
||||
process.exit(code);
|
||||
|
|
Loading…
Add table
Reference in a new issue