fix: GAME_LAUNCH_REGEX for Fabric

pull/313/head
jebibot 2023-11-24 11:30:52 +09:00 committed by Daniel Scalzi
parent bc2dc371d0
commit 3185146d60
No known key found for this signature in database
GPG Key ID: 9E3E2AFE45328AA5
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ let hasRPC = false
// Joined server regex
// Change this if your server uses something different.
const GAME_JOINED_REGEX = /\[.+\]: Sound engine started/
const GAME_LAUNCH_REGEX = /^\[.+\]: (?:MinecraftForge .+ Initialized|ModLauncher .+ starting: .+)$/
const GAME_LAUNCH_REGEX = /^\[.+\]: (?:MinecraftForge .+ Initialized|ModLauncher .+ starting: .+|Loading Minecraft .+ with Fabric Loader .+)$/
const MIN_LINGER = 5000
async function dlAsync(login = true) {