Merge remote-tracking branch 'origin/minecraftauth' into minecraftauth

This commit is contained in:
AlexProgrammerDE 2024-07-21 08:35:37 +02:00
commit 6cb27a1d0c

View file

@ -49,7 +49,7 @@ public class BedrockSetLocalPlayerAsInitializedTranslator extends PacketTranslat
if (session.getGeyser().authChainFor(session.bedrockUsername()) == null) { if (session.getGeyser().authChainFor(session.bedrockUsername()) == null) {
LoginEncryptionUtils.buildAndShowConsentWindow(session); LoginEncryptionUtils.buildAndShowConsentWindow(session);
} else { } else {
// If the refresh token is not null and we're here, then the refresh token expired // If the auth chain is not null and we're here, then it expired
// and the expiration form has been cached // and the expiration form has been cached
session.getFormCache().resendAllForms(); session.getFormCache().resendAllForms();
} }