From f8bdfd0c293b7a4208a66c36aa4eb5ceffcb168a Mon Sep 17 00:00:00 2001 From: Shanwer Date: Tue, 26 Dec 2023 20:24:45 +0800 Subject: [PATCH] Delete the wrong line That is the line that let bedrock user to login with the online mode on. --- .../java/org/geysermc/geyser/network/UpstreamPacketHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java b/core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java index acbc75d1601..0292f464a70 100644 --- a/core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java +++ b/core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java @@ -207,6 +207,7 @@ public PacketSignal handle(ResourcePackClientResponsePacket packet) { session.authenticate(session.getAuthData().name()); } else if (!couldLoginUserByName(session.getAuthData().name())) { // We must spawn the white world + session.connect();//Let bedrock user to login with online mode on } geyser.getLogger().info(GeyserLocale.getLocaleStringLog("geyser.network.connect", session.getAuthData().name())); break;