mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-29 18:55:40 -05:00
Merge pull request #106 from mrfrase3/patch-1
Update yggdrasil.js to fix bug when reloading session
This commit is contained in:
commit
ba4d871984
1 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,8 @@ function getSession(username, password, clientToken, refresh, cb) {
|
|||
var session = {
|
||||
accessToken: resp.body.accessToken,
|
||||
clientToken: resp.body.clientToken,
|
||||
username: resp.body.selectedProfile.name
|
||||
username: resp.body.selectedProfile.name,
|
||||
selectedProfile: resp.body.selectedProfile
|
||||
};
|
||||
cb(null, session);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue