Update startVanillaServer.js

This commit is contained in:
extremeheat 2024-12-04 22:47:15 -05:00 committed by GitHub
commit 29c7b92d96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@ async function download (os, version, path = 'bds-') {
let found = false
for (let i = 0; i < 8; i++) { // Check for the latest server build for version (major.minor.patch.BUILD)
for (let i = 0; i < 20; i++) { // Check for the latest server build for version (major.minor.patch.BUILD)
const u = url(os, `${verStr}.${String(i).padStart(2, '0')}`)
debug('Opening', u, Date.now())
let ret