diff --git a/lib/java.js b/lib/java.js index 3c0bac2..6039e52 100644 --- a/lib/java.js +++ b/lib/java.js @@ -117,7 +117,7 @@ function ping(host, port = 25565, cb, timeout = 5000, protocolVersion = -1) { /** * Asynchronously ping Minecraft Java server. - * The optional `options` argument can be an object with a `port` (default is `25565`) or/and `timeout` (default is `5000`) or/and `protocolVersion` (default is `0`) property. + * The optional `options` argument can be an object with a `port` (default is `25565`) or/and `timeout` (default is `5000`) or/and `protocolVersion` (default is `-1`) property. * @param {string} host The Java server address. * @param {import('../types/index.js').PingOptions} options The configuration for pinging Minecraft Java server. * @returns {Promise}