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:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user