13
0
geforkt von Mirrors/Velocity

Pass through packets in config state (#1326)

Dieser Commit ist enthalten in:
Gijs de Jong 2024-05-23 20:09:53 +02:00 committet von GitHub
Ursprung afd8b55fb5
Commit a02b601b6c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -128,17 +128,20 @@ public class ClientConfigSessionHandler implements MinecraftSessionHandler {
public boolean handle(PingIdentifyPacket packet) {
if (player.getConnectionInFlight() != null) {
player.getConnectionInFlight().ensureConnected().write(packet);
return true;
}
return true;
return false;
}
@Override
public boolean handle(KnownPacksPacket packet) {
if (player.getConnectionInFlight() != null) {
player.getConnectionInFlight().ensureConnected().write(packet);
return true;
}
return true;
return false;
}
@Override