mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Bug fix
This commit is contained in:
parent
f754f6ab0f
commit
625612909e
4 changed files with 5 additions and 7 deletions
|
|
@ -50,11 +50,6 @@ 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