Skip to content

Commit

Permalink
fix(Protocol18.cs): OperationCanceledException when /reco or /quit
Browse files Browse the repository at this point in the history
fix(Protocol18.cs): OperationCanceledException when /reco or /quit
  • Loading branch information
milutinke authored Jan 30, 2024
2 parents 1479c64 + 350c1cd commit 1e60b61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MinecraftClient/Protocol/Handlers/Protocol18.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ internal void PacketReader(object? o)
break;
}
}
catch (OperationCanceledException)
{
break;
}
catch (System.IO.IOException)
{
break;
Expand Down

0 comments on commit 1e60b61

Please sign in to comment.