fix spawn event (#139)
This commit is contained in:
parent
10feeea4ca
commit
ac2e9852be
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ const client = bedrock.createClient({
|
|||
client.on('join', client => console.log('Player has joined!'))
|
||||
|
||||
// The 'spawn' event is emitted. The chunks have been sent and all is well.
|
||||
client.on('join', client => console.log('Player has spawned!'))
|
||||
client.on('spawn', client => console.log('Player has spawned!'))
|
||||
|
||||
// We can listen for text packets. See proto.yml for documentation.
|
||||
client.on('text', (packet) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue