mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2025-05-17 08:40:24 -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) {
|
if (haveCredentials) {
|
||||||
joinServerRequest(onJoinServerResponse);
|
joinServerRequest(onJoinServerResponse);
|
||||||
} else {
|
} 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();
|
sendEncryptionKeyResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue