From 39186a1f67ebd5c5840dea5d8374e52467421b35 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Sat, 19 Oct 2024 21:06:54 +0100 Subject: [PATCH] Fix detection of logs which fail to start mc process --- src/handlers/event/analyze_logs/info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/event/analyze_logs/info.rs b/src/handlers/event/analyze_logs/info.rs index 356bbc4..ba9cb7e 100644 --- a/src/handlers/event/analyze_logs/info.rs +++ b/src/handlers/event/analyze_logs/info.rs @@ -34,7 +34,7 @@ fn looks_like_game_log(log: &str) -> bool { trace!("Guessing whether log is Minecraft log"); - if log.contains("Minecraft process ID: ") { + if log.contains("Prism Launcher version: ") || log.contains("Minecraft process ID: ") { return true; }