mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 22:23:21 -04:00
Wrong context when grabbing username
This commit is contained in:
parent
cbdf8adb05
commit
254223d9c7
@ -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…
x
Reference in New Issue
Block a user