mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Ignore invalid UUIDs for tab-list
If the server is sending invalid UUIDs, use an empty UUID instead
This commit is contained in:
parent
834e446a74
commit
93d58a8d81
1 changed files with 8 additions and 1 deletions
|
|
@ -282,7 +282,14 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
|
||||
private Guid readNextUUID(ref byte[] cache)
|
||||
{
|
||||
return new Guid(readData(16, ref cache));
|
||||
try
|
||||
{
|
||||
return new Guid(readData(16, ref cache));
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
return Guid.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue