Fix(PacketType18Handler.cs): 1.20 Packet Palette (#2715)

This commit is contained in:
oldkingOK 2024-03-20 14:10:06 +08:00 committed by GitHub
parent f5c7a2801f
commit bf54def51f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,7 @@ namespace MinecraftClient.Protocol.Handlers
<= Protocol18Handler.MC_1_19_2_Version => new PacketPalette1192(),
<= Protocol18Handler.MC_1_19_3_Version => new PacketPalette1193(),
<= Protocol18Handler.MC_1_19_4_Version => new PacketPalette1194(),
<= Protocol18Handler.MC_1_20_Version => new PacketPalette1194(),
<= Protocol18Handler.MC_1_20_2_Version => new PacketPalette1202(),
_ => new PacketPalette1204()
};