3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 00:00:41 +01:00

log user auto-logins and note to improve

Dieser Commit ist enthalten in:
Blue Kelp 2019-08-02 13:55:26 -07:00
Ursprung bf7c74e072
Commit ae9d51c8b7

Datei anzeigen

@ -97,8 +97,11 @@ public class UpstreamPacketHandler extends LoggingPacketHandler {
UserAuthenticationInfo info = connector.getConfig().getUserAuths().get(bedrockUsername);
if (info != null) {
connector.getLogger().debug("using stored credentials for bedrock user " + session.getAuthenticationData().getName());
connector.getLogger().info("using stored credentials for bedrock user " + session.getAuthenticationData().getName());
session.authenticate(info.email, info.password);
// TODO send a message to bedrock user telling them they are connected (if nothing like a motd
// somes from the Java server w/in a few seconds)
return true;
}
}