From 662ef89c36f7a21da3537a16723bd54edcc129f1 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Wed, 27 Jul 2022 19:49:01 +0800 Subject: [PATCH] Update to 2.5.0 --- build.gradle | 2 +- .../me/exzork/gcauth/handler/GCAuthAuthenticationHandler.java | 2 +- src/main/resources/plugin.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 4fa6390..c0eaa9c 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ sourceCompatibility = 17 targetCompatibility = 17 group 'me.exzork.gcauth' -version '2.4.1' +version '2.5.0' repositories { mavenCentral() diff --git a/src/main/java/me/exzork/gcauth/handler/GCAuthAuthenticationHandler.java b/src/main/java/me/exzork/gcauth/handler/GCAuthAuthenticationHandler.java index d13eaab..16f1faf 100644 --- a/src/main/java/me/exzork/gcauth/handler/GCAuthAuthenticationHandler.java +++ b/src/main/java/me/exzork/gcauth/handler/GCAuthAuthenticationHandler.java @@ -8,7 +8,7 @@ import emu.grasscutter.server.http.objects.LoginResultJson; import me.exzork.gcauth.utils.Authentication; public class GCAuthAuthenticationHandler implements AuthenticationSystem { - private final Authenticator gcAuthAuthenticator = new GCAuthenticators.GCAuthAuthenticator();; + private final Authenticator gcAuthAuthenticator = new GCAuthenticators.GCAuthAuthenticator(); private final Authenticator tokenAuthenticator = new DefaultAuthenticators.TokenAuthenticator(); private final Authenticator sessionKeyAuthenticator = new DefaultAuthenticators.SessionKeyAuthenticator(); private final GCAuthExternalAuthenticator externalAuthenticator = new GCAuthExternalAuthenticator(); diff --git a/src/main/resources/plugin.json b/src/main/resources/plugin.json index d7fc659..bc9cf18 100644 --- a/src/main/resources/plugin.json +++ b/src/main/resources/plugin.json @@ -1,7 +1,7 @@ { "name": "GCAuth", "description": "GCAuth is a plugin that allows you to implement authentication for your server.", - "version": "2.4.1", + "version": "2.5.0", "author": ["ExZork"], "mainClass": "me.exzork.gcauth.GCAuth" }