[FIX] Compile error

This commit is contained in:
Gravita 2022-07-26 17:24:14 +07:00
parent 3561522d14
commit eb5bbb9acf

View file

@ -36,7 +36,6 @@ public class ClientProfileBuilder {
private UUID uuid;
private String title;
private String info;
private boolean updateFastCheck = true;
private String mainClass;
public ClientProfileBuilder setUpdate(List<String> update) {
@ -194,17 +193,12 @@ public ClientProfileBuilder setInfo(String info) {
return this;
}
public ClientProfileBuilder setUpdateFastCheck(boolean updateFastCheck) {
this.updateFastCheck = updateFastCheck;
return this;
}
public ClientProfileBuilder setMainClass(String mainClass) {
this.mainClass = mainClass;
return this;
}
public ClientProfile createClientProfile() {
return new ClientProfile(update, updateExclusions, updateShared, updateVerify, updateOptional, jvmArgs, classPath, modulePath, modules, altClassPath, clientArgs, compatClasses, properties, servers, securityManagerConfig, classLoaderConfig, signedClientConfig, runtimeInClientConfig, version, assetIndex, dir, assetDir, recommendJavaVersion, minJavaVersion, maxJavaVersion, warnMissJavaVersion, settings, sortIndex, uuid, title, info, updateFastCheck, mainClass);
return new ClientProfile(update, updateExclusions, updateShared, updateVerify, updateOptional, jvmArgs, classPath, modulePath, modules, altClassPath, clientArgs, compatClasses, properties, servers, securityManagerConfig, classLoaderConfig, signedClientConfig, runtimeInClientConfig, version, assetIndex, dir, assetDir, recommendJavaVersion, minJavaVersion, maxJavaVersion, warnMissJavaVersion, settings, sortIndex, uuid, title, info, mainClass);
}
}