mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix minor bugs (#2759)
* add miscellaneous fixes * Fixed connecting to server when compression threshold is set to 0 The client assumes that 0 means disabled, when on a notchian (vanilla) server, it is possible to set the compression threshold to 0 (compress all packets). * Try to capture all exceptions through Sentry No exceptions are being logged through Sentry, so be more aggressive when sending exceptions (cherry picked from commit eb1c2f5e771760fb3be32ffea79f8292adca92f1) * Call OnSpawnPlayer packet when a player is spawned using the SpawnEntity packet references #2721 (cherry picked from commit ef28ae09ac89e8988dd612de61f2849a9f0e528c)
This commit is contained in:
parent
2f9cf7bc8c
commit
c50b360eae
2 changed files with 17 additions and 4 deletions
|
|
@ -74,6 +74,11 @@ namespace MinecraftClient
|
|||
options.EnableTracing = true;
|
||||
options.SendDefaultPii = false;
|
||||
});
|
||||
|
||||
AppDomain.CurrentDomain.UnhandledException += (sender, eventArgs) =>
|
||||
{
|
||||
SentrySdk.CaptureException((Exception)eventArgs.ExceptionObject);
|
||||
};
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue