mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-22 06:02:07 +02:00
chat on spawn, not login
This commit is contained in:
parent
2a3cc01c1c
commit
8d37dc12d2
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ export class Agent {
|
|||
|
||||
initModes(this);
|
||||
|
||||
this.bot.on('login', async () => {
|
||||
console.log(`${this.name} logged in.`);
|
||||
this.bot.once('spawn', async () => {
|
||||
console.log(`${this.name} spawned.`);
|
||||
this.coder.clear();
|
||||
|
||||
const ignore_messages = [
|
||||
|
|
Loading…
Add table
Reference in a new issue