From 008318fae15ba0704b32448cdd647ac1eeae3bd0 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 17 May 2022 21:28:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Adapt=20upstream=20breaking=20ch?= =?UTF-8?q?anges=20PR#964?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gcauth_oauth/handler/GCAuthAuthenticationHandler.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthAuthenticationHandler.java b/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthAuthenticationHandler.java index 0b6d65e..aca86f7 100644 --- a/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthAuthenticationHandler.java +++ b/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthAuthenticationHandler.java @@ -1,6 +1,7 @@ package com.xtaolabs.gcauth_oauth.handler; import emu.grasscutter.auth.*; +import emu.grasscutter.game.Account; import emu.grasscutter.server.http.objects.ComboTokenResJson; import emu.grasscutter.server.http.objects.LoginResultJson; @@ -23,8 +24,9 @@ public class GCAuthAuthenticationHandler implements AuthenticationSystem { } @Override - public boolean verifyUser(String s) { - return false; + public Account verifyUser(String s) { + // Unhandled. + return null; } @Override