Un-commended try-catch block

This commit is contained in:
Anon 2024-03-12 19:07:20 +01:00
parent 2ce0311949
commit 5044ec965b

View file

@ -370,8 +370,8 @@ namespace MinecraftClient.Protocol.Handlers
/// <returns>TRUE if the packet was processed, FALSE if ignored or unknown</returns>
internal bool HandlePacket(int packetId, Queue<byte> packetData)
{
//try
//{
try
{
switch (currentState)
{
// https://wiki.vg/Protocol#Login
@ -454,7 +454,7 @@ namespace MinecraftClient.Protocol.Handlers
default:
return true;
}
/*}
}
catch (Exception innerException)
{
if (innerException is ThreadAbortException || innerException is SocketException ||
@ -469,7 +469,7 @@ namespace MinecraftClient.Protocol.Handlers
currentState == CurrentState.Login,
innerException.GetType()),
innerException);
}*/
}
return true;
}