fix remaining merge errors
This commit is contained in:
@ -15,7 +15,7 @@ function ping (serverRegistration, timeout, callback, version) {
|
||||
serverRegistration.dnsResolver.resolve((host, port, remainingTimeout) => {
|
||||
const server = new minecraftJavaPing.MinecraftServer(host, port || 25565)
|
||||
|
||||
server.resolve(remainingTimeout, version, (err, res) => {
|
||||
server.ping(remainingTimeout, version, (err, res) => {
|
||||
if (err) {
|
||||
callback(err)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user