mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-17 07:47:57 -04:00
fix: NPE in ModpackInfoPage
This commit is contained in:
parent
463dc56702
commit
ab1a2f6fcb
@ -78,13 +78,13 @@ public final class ModpackInfoPage extends Control implements WizardPage {
|
|||||||
private final SimpleStringProperty url = new SimpleStringProperty("");
|
private final SimpleStringProperty url = new SimpleStringProperty("");
|
||||||
private final SimpleBooleanProperty forceUpdate = new SimpleBooleanProperty();
|
private final SimpleBooleanProperty forceUpdate = new SimpleBooleanProperty();
|
||||||
private final SimpleBooleanProperty packWithLauncher = new SimpleBooleanProperty();
|
private final SimpleBooleanProperty packWithLauncher = new SimpleBooleanProperty();
|
||||||
private final SimpleStringProperty fileApi = new SimpleStringProperty();
|
private final SimpleStringProperty fileApi = new SimpleStringProperty("");
|
||||||
private final SimpleIntegerProperty minMemory = new SimpleIntegerProperty(0);
|
private final SimpleIntegerProperty minMemory = new SimpleIntegerProperty(0);
|
||||||
private final SimpleStringProperty authlibInjectorServer = new SimpleStringProperty();
|
private final SimpleStringProperty authlibInjectorServer = new SimpleStringProperty();
|
||||||
private final SimpleStringProperty launchArguments = new SimpleStringProperty("");
|
private final SimpleStringProperty launchArguments = new SimpleStringProperty("");
|
||||||
private final SimpleStringProperty javaArguments = new SimpleStringProperty("");
|
private final SimpleStringProperty javaArguments = new SimpleStringProperty("");
|
||||||
private final ObjectProperty<EventHandler<? super MouseEvent>> next = new SimpleObjectProperty<>();
|
private final ObjectProperty<EventHandler<? super MouseEvent>> next = new SimpleObjectProperty<>();
|
||||||
private final SimpleStringProperty mcbbsThreadId = new SimpleStringProperty();
|
private final SimpleStringProperty mcbbsThreadId = new SimpleStringProperty("");
|
||||||
|
|
||||||
public ModpackInfoPage(WizardController controller, HMCLGameRepository gameRepository, String version) {
|
public ModpackInfoPage(WizardController controller, HMCLGameRepository gameRepository, String version) {
|
||||||
this.controller = controller;
|
this.controller = controller;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user