mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2025-05-01 00:43:51 -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
1 changed files with 3 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue