mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-15 06:45:42 -04:00
fix(crash): crash when game crashed.
This commit is contained in:
parent
6d09d0984e
commit
775b58d0fd
@ -90,6 +90,7 @@ public class GameCrashWindow extends Stage {
|
||||
this.version = version;
|
||||
this.launchOptions = launchOptions;
|
||||
this.logs = logs;
|
||||
this.analyzer = LibraryAnalyzer.analyze(version);
|
||||
this.view = new View();
|
||||
|
||||
setScene(new Scene(view, 800, 480));
|
||||
@ -100,7 +101,6 @@ public class GameCrashWindow extends Stage {
|
||||
memory = Optional.ofNullable(launchOptions.getMaxMemory()).map(i -> i + " MB").orElse("-");
|
||||
java = launchOptions.getJava().getVersion();
|
||||
|
||||
analyzer = LibraryAnalyzer.analyze(version);
|
||||
|
||||
analyzeCrashReport();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user