mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-10-04 08:30:30 -04:00
Remove meaningless debug messages
This commit is contained in:
parent
66a6584a6a
commit
79cf229835
2
index.js
2
index.js
@ -286,7 +286,6 @@ function createClient(options) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onEncryptionKeyRequest(packet) {
|
function onEncryptionKeyRequest(packet) {
|
||||||
debug("Generating 16 random bytes");
|
|
||||||
crypto.randomBytes(16, gotSharedSecret);
|
crypto.randomBytes(16, gotSharedSecret);
|
||||||
|
|
||||||
function gotSharedSecret(err, sharedSecret) {
|
function gotSharedSecret(err, sharedSecret) {
|
||||||
@ -296,7 +295,6 @@ function createClient(options) {
|
|||||||
client.end();
|
client.end();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
debug("Got mah bytes");
|
|
||||||
if (haveCredentials) {
|
if (haveCredentials) {
|
||||||
joinServerRequest(onJoinServerResponse);
|
joinServerRequest(onJoinServerResponse);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user