[FIX] Profile UUID null error

This commit is contained in:
Gravita 2021-04-29 23:35:56 +07:00
parent 1b7e463ddb
commit 37ec6b525c

View file

@ -399,6 +399,9 @@ public void verify() {
// Client launcher
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) {
if (s == null) throw new IllegalArgumentException("Found null entry in update");
}