diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/base/profiles/ClientProfileBuilder.java b/LauncherAPI/src/main/java/pro/gravit/launcher/base/profiles/ClientProfileBuilder.java index e13b59f1..667ba3f3 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/base/profiles/ClientProfileBuilder.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/base/profiles/ClientProfileBuilder.java @@ -51,6 +51,7 @@ public ClientProfileBuilder() { this.properties = new HashMap<>(); this.servers = new ArrayList<>(); this.flags = new ArrayList<>(); + this.settings = new ClientProfile.ProfileDefaultSettings(); } public ClientProfileBuilder(ClientProfile profile) { @@ -83,6 +84,7 @@ public ClientProfileBuilder(ClientProfile profile) { this.mainClass = profile.getMainClass(); this.mainModule = profile.getMainModule(); this.moduleConf = profile.getModuleConf(); + this.settings = profile.getSettings(); } public ClientProfileBuilder setTitle(String title) {