mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +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.permissions = aresult.permissions;
|
||||||
clientData.auth_id = auth_id;
|
clientData.auth_id = auth_id;
|
||||||
clientData.updateAuth(server);
|
clientData.updateAuth(server);
|
||||||
|
if(result.playerProfile != null)
|
||||||
|
clientData.username = result.playerProfile.username;
|
||||||
|
else
|
||||||
|
clientData.username = login;
|
||||||
result.accessToken = aresult.accessToken;
|
result.accessToken = aresult.accessToken;
|
||||||
result.permissions = clientData.permissions;
|
result.permissions = clientData.permissions;
|
||||||
if (authType == ConnectTypes.BOT && !clientData.permissions.canBot) {
|
if (authType == ConnectTypes.BOT && !clientData.permissions.canBot) {
|
||||||
|
|
Loading…
Reference in a new issue