Update Protocol18.cs

This commit is contained in:
xiaoze_qwq_ 2026-08-19 17:50:24 +08:00 committed by GitHub
parent d50e90d860
commit 8ac8051f96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4101,6 +4101,7 @@ namespace MinecraftClient.Protocol.Handlers
finally
{
socketWrapper.Disconnect();
McClient.Instance?.DeleteAllCookies();
}
}
}
@ -6685,8 +6686,6 @@ namespace MinecraftClient.Protocol.Handlers
SendPacket(PacketTypesOut.CookieResponse, packet);
break;
}
McClient.Instance?.DeleteCookie(name);
return true;
}
catch (SocketException)