diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 9fff7bfef6..3268ec22ae 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -370,8 +370,8 @@ internal Tuple> ReadNextPacket() /// TRUE if the packet was processed, FALSE if ignored or unknown internal bool HandlePacket(int packetId, Queue packetData) { - //try - //{ + try + { switch (currentState) { // https://wiki.vg/Protocol#Login @@ -454,7 +454,7 @@ internal bool HandlePacket(int packetId, Queue packetData) default: return true; } - /*} + } catch (Exception innerException) { if (innerException is ThreadAbortException || innerException is SocketException || @@ -469,7 +469,7 @@ internal bool HandlePacket(int packetId, Queue packetData) currentState == CurrentState.Login, innerException.GetType()), innerException); - }*/ + } return true; }