Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
Fix 1.17 ping handler (#365)
Dieser Commit ist enthalten in:
Ursprung
0ba20299a3
Commit
cf7c718493
@ -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);
|
||||
});
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren