mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
Фикс AuthServer
This commit is contained in:
parent
92c5989b5e
commit
b70e781fa7
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ public void reply() throws Exception {
|
|||
if (clientData.profile == null) {
|
||||
throw new AuthException("Your profile is not found");
|
||||
}
|
||||
clientData.permissions = server.config.permissionsHandler.getPermissions(login);
|
||||
if(!clientData.permissions.canServer)
|
||||
{
|
||||
throw new AuthException("Your account cannot be a server");
|
||||
|
|
Loading…
Reference in a new issue