From b69ebe665702e8867d54ec73bbf588b4a765c474 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Tue, 19 Sep 2023 13:25:25 +1000 Subject: [PATCH] Send the config ack packet --- .../protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java index 8fc7f5ec..f7fa71cb 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/Protocol1_20To1_20_2.java @@ -94,6 +94,9 @@ public final class Protocol1_20To1_20_2 extends BackwardsProtocol { wrapper.cancel(); // TODO: Check whether all the necessary data for the join game packet is always expected by the client or if we need to cache it from the initial login + final PacketWrapper configAcknowledgedPacket = wrapper.create(ServerboundPackets1_20_2.CONFIGURATION_ACKNOWLEDGED); + configAcknowledgedPacket.sendToServer(Protocol1_20To1_20_2.class); + wrapper.user().put(new ConfigurationPacketStorage()); }); cancelClientbound(ClientboundPackets1_20_2.PONG_RESPONSE); @@ -151,7 +154,7 @@ public final class Protocol1_20To1_20_2 extends BackwardsProtocol