1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00

Print protocol version in join message

This commit is contained in:
onebeastchris
2025-11-21 18:56:44 +01:00
parent b7e5f63672
commit a49ae8fade

View File

@@ -273,7 +273,8 @@ public class UpstreamPacketHandler extends LoggingPacketHandler {
// We must spawn the white world // We must spawn the white world
session.connect(); session.connect();
} }
geyser.getLogger().info(GeyserLocale.getLocaleStringLog("geyser.network.connect", session.getAuthData().name())); geyser.getLogger().info(GeyserLocale.getLocaleStringLog("geyser.network.connect", session.getAuthData().name() +
" (" + session.protocolVersion() + ")"));
} }
case SEND_PACKS -> { case SEND_PACKS -> {
if (packet.getPackIds().isEmpty()) { if (packet.getPackIds().isEmpty()) {