mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add AutoDig ChatBot
This commit is contained in:
parent
4cb95731bf
commit
c57ac183d5
16 changed files with 579 additions and 64 deletions
|
|
@ -69,11 +69,14 @@ namespace MinecraftClient.WinAPI
|
|||
}
|
||||
catch (AggregateException ae)
|
||||
{
|
||||
bool needRevert = false;
|
||||
foreach (var ex in ae.InnerExceptions)
|
||||
{
|
||||
if (ex is HttpRequestException) //Skin not found? Reset to default icon
|
||||
RevertToMCCIcon();
|
||||
if (ex is HttpRequestException || ex is TaskCanceledException) //Skin not found? Reset to default icon
|
||||
needRevert = true;
|
||||
}
|
||||
if (needRevert)
|
||||
RevertToMCCIcon();
|
||||
}
|
||||
catch (HttpRequestException) //Skin not found? Reset to default icon
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue