diff --git a/src/server/handshake.js b/src/server/handshake.js index 84cfc42..12d7fa3 100644 --- a/src/server/handshake.js +++ b/src/server/handshake.js @@ -14,7 +14,7 @@ module.exports = function (client, server, { version }) { } else { client.end('Protocol version ' + client.protocolVersion + ' is not supported') } - } else if (client.protocolVersion !== server.mcversion.version) { + } else if (client.protocolVersion !== server.mcversion.version && packet.nextState !== 1) { client.end('Wrong protocol version, expected: ' + server.mcversion.version + ' and you are using: ' + client.protocolVersion) }