mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-02 03:56:54 -05:00
Wrong context when grabbing username
This commit is contained in:
parent
cbdf8adb05
commit
254223d9c7
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ function createClient(options) {
|
||||||
hash.update(packet.publicKey);
|
hash.update(packet.publicKey);
|
||||||
|
|
||||||
var digest = mcHexDigest(hash);
|
var digest = mcHexDigest(hash);
|
||||||
joinServer(this.username, digest, accessToken, client.session.selectedProfile.id, cb);
|
joinServer(client.username, digest, accessToken, client.session.selectedProfile.id, cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
function sendEncryptionKeyResponse() {
|
function sendEncryptionKeyResponse() {
|
||||||
|
|
Loading…
Reference in a new issue