3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00

Fix player chat packet id

Mojang didn't register that in the correct spot alphabetically :(
Dieser Commit ist enthalten in:
Nassim Jahnke 2022-07-08 21:07:42 +02:00
Ursprung b33bd2ac2b
Commit 63ffb51df5
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -71,8 +71,8 @@ public enum ClientboundPackets1_19_1 implements ClientboundPacketType {
PING, // 0x2F PING, // 0x2F
CRAFT_RECIPE_RESPONSE, // 0x30 CRAFT_RECIPE_RESPONSE, // 0x30
PLAYER_ABILITIES, // 0x31 PLAYER_ABILITIES, // 0x31
PLAYER_CHAT_HEADER, // 0x32 PLAYER_CHAT, // 0x32
PLAYER_CHAT, // 0x33 PLAYER_CHAT_HEADER, // 0x33
COMBAT_END, // 0x34 COMBAT_END, // 0x34
COMBAT_ENTER, // 0x35 COMBAT_ENTER, // 0x35
COMBAT_KILL, // 0x36 COMBAT_KILL, // 0x36

Datei anzeigen

@ -88,7 +88,7 @@ public final class Protocol1_19_1To1_19 extends AbstractProtocol<ClientboundPack
} }
}); });
// Back to system caht // Back to system chat
registerClientbound(ClientboundPackets1_19.PLAYER_CHAT, ClientboundPackets1_19_1.SYSTEM_CHAT, new PacketRemapper() { registerClientbound(ClientboundPackets1_19.PLAYER_CHAT, ClientboundPackets1_19_1.SYSTEM_CHAT, new PacketRemapper() {
@Override @Override
public void registerMap() { public void registerMap() {