mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
feat: Handle configuration-state code-of-conduct packets on 1.21.9+ servers
This commit is contained in:
commit
2bccb7f8e9
1 changed files with 5 additions and 0 deletions
|
|
@ -623,6 +623,11 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
}
|
||||
break;
|
||||
|
||||
case ConfigurationPacketTypesIn.CodeOfConduct:
|
||||
dataTypes.ReadNextString(packetData); // Code of conduct text
|
||||
SendPacket(ConfigurationPacketTypesOut.AcceptCodeOfConduct, new List<byte>());
|
||||
break;
|
||||
|
||||
case ConfigurationPacketTypesIn.ServerLinks:
|
||||
var cfgLinksCount = dataTypes.ReadNextVarInt(packetData);
|
||||
for (var i = 0; i < cfgLinksCount; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue