mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockSetLocalPlayerAsInitializedTranslator.java
Co-authored-by: chris <github@onechris.mozmail.com>
This commit is contained in:
parent
12691ac4f9
commit
ac98b76b0b
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue