mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
added session data to session even
This commit is contained in:
parent
b8d38918c4
commit
4560c1948f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module.exports = function (client, options) {
|
|||
client.session = session
|
||||
client.username = session.selectedProfile.name
|
||||
options.accessToken = session.accessToken
|
||||
client.emit('session')
|
||||
client.emit('session', session)
|
||||
options.connect(client)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue