fix(crash): crash when game crashed.
This commit is contained in:
@@ -90,6 +90,7 @@ public class GameCrashWindow extends Stage {
|
|||||||
this.version = version;
|
this.version = version;
|
||||||
this.launchOptions = launchOptions;
|
this.launchOptions = launchOptions;
|
||||||
this.logs = logs;
|
this.logs = logs;
|
||||||
|
this.analyzer = LibraryAnalyzer.analyze(version);
|
||||||
this.view = new View();
|
this.view = new View();
|
||||||
|
|
||||||
setScene(new Scene(view, 800, 480));
|
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("-");
|
memory = Optional.ofNullable(launchOptions.getMaxMemory()).map(i -> i + " MB").orElse("-");
|
||||||
java = launchOptions.getJava().getVersion();
|
java = launchOptions.getJava().getVersion();
|
||||||
|
|
||||||
analyzer = LibraryAnalyzer.analyze(version);
|
|
||||||
|
|
||||||
analyzeCrashReport();
|
analyzeCrashReport();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user