Wrong context when grabbing username

This commit is contained in:
roblabla 2015-03-23 16:20:50 +00:00
parent cbdf8adb05
commit 254223d9c7

View file

@ -320,7 +320,7 @@ function createClient(options) {
hash.update(packet.publicKey);
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() {