mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-27 05:03:50 -04:00
added session data to session even
This commit is contained in:
parent
b8d38918c4
commit
4560c1948f
@ -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…
x
Reference in New Issue
Block a user