Support branch selection for server patching

This commit is contained in:
AMIAY
2026-01-30 22:45:21 +01:00
parent 2cdef44fec
commit 14a63febc1
2 changed files with 24 additions and 9 deletions

View File

@@ -179,7 +179,7 @@ async function launchGame(playerName = 'Player', progressCallback, javaPathOverr
if (progressCallback && msg) {
progressCallback(msg, percent, null, null, null);
}
});
}, null, branch);
if (patchResult.success) {
console.log(`Game patched successfully (${patchResult.patchCount} total occurrences)`);