mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Исправление белых списков
This commit is contained in:
parent
c6782d86a7
commit
25ccda7ae2
1 changed files with 4 additions and 0 deletions
|
@ -104,6 +104,10 @@ public void execute(ChannelHandlerContext ctx, Client clientData) throws Excepti
|
|||
clientData.permissions = aresult.permissions;
|
||||
clientData.auth_id = auth_id;
|
||||
clientData.updateAuth(server);
|
||||
if(result.playerProfile != null)
|
||||
clientData.username = result.playerProfile.username;
|
||||
else
|
||||
clientData.username = login;
|
||||
result.accessToken = aresult.accessToken;
|
||||
result.permissions = clientData.permissions;
|
||||
if (authType == ConnectTypes.BOT && !clientData.permissions.canBot) {
|
||||
|
|
Loading…
Reference in a new issue