From 67a53218d452723bd727febffbf5ec208508a0bd Mon Sep 17 00:00:00 2001 From: Gravita Date: Thu, 24 Mar 2022 16:49:50 +0700 Subject: [PATCH] [FIX] Old profiles crash --- .../main/java/pro/gravit/launcher/profiles/ClientProfile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java index b3fa2761..de75f5c7 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/ClientProfile.java @@ -48,9 +48,9 @@ public final class ClientProfile implements Comparable { @LauncherNetworkAPI private List classPath; @LauncherNetworkAPI - private List modulePath; + private List modulePath = new ArrayList<>(); @LauncherNetworkAPI - private List modules; + private List modules = new ArrayList<>(); @LauncherNetworkAPI private List altClassPath; @LauncherNetworkAPI