mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Backport 37ec6b525c
This commit is contained in:
parent
f7c8d03131
commit
9f5810fad6
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue