mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Profile UUID null error
This commit is contained in:
parent
1b7e463ddb
commit
37ec6b525c
1 changed files with 3 additions and 0 deletions
|
@ -399,6 +399,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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue