3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-10-03 00:50:05 +02:00

Fix 1.17 ping handler (#365)

Dieser Commit ist enthalten in:
SuspiciousActivity 2021-06-09 15:14:42 +02:00 committet von GitHub
Ursprung 0ba20299a3
Commit cf7c718493
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -187,7 +187,9 @@ public final class Protocol1_16_4To1_17 extends BackwardsProtocol<ClientboundPac
wrapper.cancel();
// Plugins expecting a real response will have to handle this accordingly themselves
int id = wrapper.read(Type.INT);
PacketWrapper pongPacket = wrapper.create(ServerboundPackets1_17.PONG);
pongPacket.write(Type.INT, id);
pongPacket.sendToServer(Protocol1_16_4To1_17.class);
});
}