We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm update
1 parent 1d7c2a8 commit c9cf363Copy full SHA for c9cf363
src/client/autoVersion.js
@@ -29,7 +29,7 @@ module.exports = function (client, options) {
29
.sort(function (a, b) { return b.version - a.version })
30
const versions = (minecraftData.postNettyVersionsByProtocolVersion.pc[protocolVersion] || []).concat(guessFromName)
31
if (versions.length === 0) {
32
- client.emit('error', new Error(`unsupported/unknown protocol version: ${protocolVersion}, update minecraft-data`))
+ client.emit('error', new Error(`Unsupported protocol version '${protocolVersion}'; try updating your packages with 'npm update'`))
33
}
34
const minecraftVersion = versions[0].minecraftVersion
35
0 commit comments