mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] NPE в BatchProfileByUsernameRequest (#424)
This commit is contained in:
parent
c24b74ab91
commit
acf2d2d9cd
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ public final class BatchProfileByUsernameRequest extends Request<BatchProfileByU
|
|||
public BatchProfileByUsernameRequest(String... usernames) throws IOException {
|
||||
this.list = new Entry[usernames.length];
|
||||
for (int i = 0; i < usernames.length; ++i) {
|
||||
this.list[i] = new Entry();
|
||||
this.list[i].client = "";
|
||||
this.list[i].username = usernames[i];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue