From d69ab3c28cfa0adb2fe842a1766892a2384e287a Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 11 Jun 2019 10:27:36 +0700 Subject: [PATCH 1/2] =?UTF-8?q?[FIX]=20=D0=98=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=20StdProtectHandler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pro/gravit/launchserver/auth/protect/StdProtectHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/StdProtectHandler.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/StdProtectHandler.java index fe363480..d88e6163 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/StdProtectHandler.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/protect/StdProtectHandler.java @@ -21,7 +21,7 @@ public boolean verifyClientSecureToken(String token, String secureKey) { @Override public boolean allowGetAccessToken(AuthResponse.AuthContext context) { - return !(context.authType == AuthResponse.ConnectTypes.CLIENT); + return (context.authType == AuthResponse.ConnectTypes.CLIENT); } @Override From 1a26682e66c68f7c6b0184d26d24ee47faad12a3 Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 11 Jun 2019 10:29:00 +0700 Subject: [PATCH 2/2] [ANY] 5.0.4 --- LauncherCore/src/main/java/pro/gravit/utils/Version.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LauncherCore/src/main/java/pro/gravit/utils/Version.java b/LauncherCore/src/main/java/pro/gravit/utils/Version.java index 3c2e51ba..be65d7db 100644 --- a/LauncherCore/src/main/java/pro/gravit/utils/Version.java +++ b/LauncherCore/src/main/java/pro/gravit/utils/Version.java @@ -22,8 +22,8 @@ public final class Version { public final Type release; public static final int MAJOR = 5; public static final int MINOR = 0; - public static final int PATCH = 3; - public static final int BUILD = 3; + public static final int PATCH = 4; + public static final int BUILD = 1; public static final Version.Type RELEASE = Version.Type.STABLE; @LauncherAPI