From ae9d51c8b706498cb002d79ec7ced57265ca54e9 Mon Sep 17 00:00:00 2001 From: Blue Kelp Date: Fri, 2 Aug 2019 13:55:26 -0700 Subject: [PATCH] log user auto-logins and note to improve --- .../geysermc/connector/network/UpstreamPacketHandler.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/UpstreamPacketHandler.java b/connector/src/main/java/org/geysermc/connector/network/UpstreamPacketHandler.java index df1504403..7a0f46162 100644 --- a/connector/src/main/java/org/geysermc/connector/network/UpstreamPacketHandler.java +++ b/connector/src/main/java/org/geysermc/connector/network/UpstreamPacketHandler.java @@ -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; } }