[FIX] classLoaderConfig is null

This commit is contained in:
Gravita 2024-07-08 21:22:44 +07:00
parent c7781b30be
commit 1bebd8de2c
No known key found for this signature in database
GPG key ID: 543A8F335C9CD633

View file

@ -79,6 +79,7 @@ public ClientProfileBuilder(ClientProfile profile) {
this.loadNatives = new ArrayList<>(profile.getLoadNatives()); this.loadNatives = new ArrayList<>(profile.getLoadNatives());
this.properties = new HashMap<>(profile.getProperties()); this.properties = new HashMap<>(profile.getProperties());
this.servers = new ArrayList<>(profile.getServers()); this.servers = new ArrayList<>(profile.getServers());
this.classLoaderConfig = profile.getClassLoaderConfig();
this.flags = new ArrayList<>(profile.getFlags()); this.flags = new ArrayList<>(profile.getFlags());
this.recommendJavaVersion = profile.getRecommendJavaVersion(); this.recommendJavaVersion = profile.getRecommendJavaVersion();
this.minJavaVersion = profile.getMinJavaVersion(); this.minJavaVersion = profile.getMinJavaVersion();