This commit is contained in:
Gravita 2022-01-07 17:38:42 +07:00
parent f7c8d03131
commit 9f5810fad6

View file

@ -401,6 +401,9 @@ public void verify() {
// Client launcher // Client launcher
VerifyHelper.verify(getTitle(), VerifyHelper.NOT_EMPTY, "Main class can't be empty"); VerifyHelper.verify(getTitle(), VerifyHelper.NOT_EMPTY, "Main class can't be empty");
if(getUUID() == null) {
throw new IllegalArgumentException("Profile UUID can't be null");
}
for (String s : update) { for (String s : update) {
if (s == null) throw new IllegalArgumentException("Found null entry in update"); if (s == null) throw new IllegalArgumentException("Found null entry in update");
} }