Merge branch 'master' of https://git.fascinated.cc/mc-tracker/backend
All checks were successful
Deploy CI / deploy (push) Successful in 14s
Publish Docker Image / docker (push) Successful in 55s

This commit is contained in:
Lee 2024-01-13 17:37:26 +00:00
commit d2d1597b72

View File

@ -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) {