From 897f799aac93b3d678c777d1e0d066c7174b8515 Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 15 Oct 2019 13:52:28 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20Mojang=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/pro/gravit/launcher/client/ClientLauncher.java | 5 ++--- modules | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java index 9173eecf..ff1db902 100644 --- a/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/pro/gravit/launcher/client/ClientLauncher.java @@ -114,7 +114,7 @@ public Params(byte[] launcherDigest, Path assetDir, Path clientDir, PlayerProfil this.clientDir = clientDir; // Client params this.pp = pp; - this.accessToken = SecurityHelper.verifyToken(accessToken); + this.accessToken = accessToken; this.autoEnter = autoEnter; this.fullScreen = fullScreen; this.ram = ram; @@ -132,8 +132,7 @@ public Params(HInput input) throws Exception { // Client params pp = new PlayerProfile(input); byte[] encryptedAccessToken = input.readByteArray(SecurityHelper.CRYPTO_MAX_LENGTH); - String accessTokenD = new String(SecurityHelper.decrypt(Launcher.getConfig().secretKeyClient.getBytes(), encryptedAccessToken)); - accessToken = SecurityHelper.verifyToken(accessTokenD); + accessToken = new String(SecurityHelper.decrypt(Launcher.getConfig().secretKeyClient.getBytes(), encryptedAccessToken)); autoEnter = input.readBoolean(); fullScreen = input.readBoolean(); ram = input.readVarInt(); diff --git a/modules b/modules index 1df96f6e..960e178b 160000 --- a/modules +++ b/modules @@ -1 +1 @@ -Subproject commit 1df96f6e28870a0c3a8cb547306b0eb64b65a75a +Subproject commit 960e178bc658835dc8aff93ee51e10e52bc7afb5