mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Remove packet debugging code
This commit is contained in:
parent
3a760240e4
commit
67f17cbb3e
2 changed files with 1 additions and 7 deletions
|
|
@ -120,13 +120,6 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
|
||||
private bool handlePacket(int packetID, byte[] packetData)
|
||||
{
|
||||
if (new[] { 0x00, 0x02, 0x38, 0x3A, 0x40 }.Contains(packetID))
|
||||
ConsoleIO.WriteLineFormatted("§aP 0x" + packetID.ToString("x2")); //Process
|
||||
else if (packetID <= 64)
|
||||
ConsoleIO.WriteLineFormatted("§fS 0x" + packetID.ToString("x2")); //Skip
|
||||
else
|
||||
ConsoleIO.WriteLineFormatted("§c? 0x" + packetID.ToString("x2")); //Invalid
|
||||
|
||||
if (login_phase)
|
||||
{
|
||||
switch (packetID) //Packet IDs are different while logging in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue