mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] NPE: User not found and permissions enabled
This commit is contained in:
parent
abe904d73c
commit
f16f5fbc6d
1 changed files with 3 additions and 1 deletions
|
@ -295,7 +295,9 @@ private SQLUser queryUser(String sql, String value) throws SQLException {
|
||||||
user = constructUser(set);
|
user = constructUser(set);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(user != null) {
|
||||||
user.permissions = requestPermissions(user.uuid.toString());
|
user.permissions = requestPermissions(user.uuid.toString());
|
||||||
|
}
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue