mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Merge branch 'master' into brucechen-toml-config
This commit is contained in:
commit
f754f6ab0f
4 changed files with 85 additions and 3 deletions
|
|
@ -50,6 +50,11 @@ namespace MinecraftClient.WinAPI
|
|||
{
|
||||
HttpClient httpClient = new();
|
||||
try
|
||||
{
|
||||
Task<Stream> httpWebRequest = httpClient.GetStreamAsync("https://minotar.net/helm/" + playerName + "/100.png");
|
||||
httpWebRequest.Wait();
|
||||
Stream imageStream = httpWebRequest.Result;
|
||||
try
|
||||
{
|
||||
Task<Stream> httpWebRequest = httpClient.GetStreamAsync("https://minotar.net/helm/" + playerName + "/100.png");
|
||||
httpWebRequest.Wait();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue