fix: Bootstrap launcher version does not need to be displayed on GameCrashWindow

This commit is contained in:
Glavo 2021-12-19 19:47:07 +08:00 committed by Yuhui Huang
parent 7e2ab49f89
commit c2c52e8747

View File

@ -315,6 +315,7 @@ public class GameCrashWindow extends Stage {
moddedPane.setAlignment(Pos.CENTER_LEFT);
for (LibraryAnalyzer.LibraryType type : LibraryAnalyzer.LibraryType.values()) {
if (!type.getPatchId().isEmpty()) {
analyzer.getVersion(type).ifPresent(ver -> {
TwoLineListItem item = new TwoLineListItem();
item.getStyleClass().setAll("two-line-item-second-large");
@ -324,6 +325,7 @@ public class GameCrashWindow extends Stage {
});
}
}
}
VBox gameDirPane = new VBox(8);
{