dont crash...

This commit is contained in:
MaxRobinsonTheGreat 2024-11-05 16:50:45 -06:00
parent d515a80c7f
commit 67915d4dc9

View file

@ -25,7 +25,7 @@ export class Agent {
await this.prompter.initExamples(); await this.prompter.initExamples();
console.log('Logging in...'); console.log('Logging into minecraft...');
this.bot = initBot(this.name); this.bot = initBot(this.name);
initModes(this); initModes(this);
@ -37,7 +37,6 @@ export class Agent {
this.bot.on('login', () => { this.bot.on('login', () => {
console.log('Logged in!'); console.log('Logged in!');
process.exit(0);
}); });
this.bot.once('spawn', async () => { this.bot.once('spawn', async () => {