mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
remove unnecessary diff
This commit is contained in:
parent
2d80429093
commit
e4e79406ae
3 changed files with 2 additions and 5 deletions
|
|
@ -588,10 +588,8 @@ public class GeyserImpl implements GeyserApi {
|
|||
);
|
||||
|
||||
String authChain = gson.toJson(javaSession.toJson(fullJavaSession));
|
||||
GeyserImpl.getInstance().getLogger().warning("new auth chain: " + authChain);
|
||||
savedAuthChains.put(user, authChain);
|
||||
} catch (Exception e) {
|
||||
GeyserImpl.getInstance().getLogger().severe(e.getMessage(), e);
|
||||
GeyserImpl.getInstance().getLogger().warning("Could not migrate " + entry.getKey() + " to an auth chain! " +
|
||||
"They will need to sign in the next time they join Geyser.");
|
||||
}
|
||||
|
|
@ -615,9 +613,9 @@ public class GeyserImpl implements GeyserApi {
|
|||
} catch (IOException e) {
|
||||
logger.error("Cannot load saved user tokens!", e);
|
||||
}
|
||||
boolean doWrite = false;
|
||||
if (authChainFile != null) {
|
||||
List<String> validUsers = config.getSavedUserLogins();
|
||||
boolean doWrite = false;
|
||||
for (Map.Entry<String, String> entry : authChainFile.entrySet()) {
|
||||
String user = entry.getKey();
|
||||
if (!validUsers.contains(user)) {
|
||||
|
|
|
|||
|
|
@ -863,6 +863,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||
new GameProfile(mcProfile.getId(), mcProfile.getName()),
|
||||
mcToken.getAccessToken()
|
||||
);
|
||||
|
||||
try {
|
||||
connectDownstream();
|
||||
} catch (Throwable t) {
|
||||
|
|
|
|||
|
|
@ -62,8 +62,6 @@ public class PendingMicrosoftAuthentication {
|
|||
.withoutDeviceToken()
|
||||
.regularAuthentication(MicrosoftConstants.JAVA_XSTS_RELYING_PARTY)
|
||||
.buildMinecraftJavaProfileStep(false);
|
||||
|
||||
|
||||
/**
|
||||
* For GeyserConnect usage.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue