mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 21:52:17 -04:00
debug message printing when you are trying to connect to an online server without credentials
This commit is contained in:
parent
a9afd32ad3
commit
bcef115c07
3
index.js
3
index.js
@ -267,6 +267,9 @@ function createClient(options) {
|
||||
if (haveCredentials) {
|
||||
joinServerRequest(onJoinServerResponse);
|
||||
} else {
|
||||
if (packet.serverId != '-') {
|
||||
debug('This server appears to be an online server and you are providing no password, the authentication will probably fail');
|
||||
}
|
||||
sendEncryptionKeyResponse();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user