Merge branch 'master' of https://git.fascinated.cc/mc-tracker/backend
This commit is contained in:
commit
d2d1597b72
@ -143,6 +143,7 @@ export default class Server {
|
||||
|
||||
const serverPing = new javaPing.MinecraftServer(ip, port);
|
||||
|
||||
// todo: do something to get the latest protocol? (is this even needed??)
|
||||
return new Promise((resolve, reject) => {
|
||||
serverPing.ping(Config.pinger.timeout, 765, (err, res) => {
|
||||
if (err || res == undefined) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user