Updated the UpdateManager.

It now performs all its web requests asynchronously and does a better job of explaining errors it encounters without plastering red Exception messages on the console.
This commit is contained in:
White 2017-01-06 13:30:24 +10:30
parent 06f813c203
commit 51b796cf47
2 changed files with 69 additions and 32 deletions

View file

@ -1874,7 +1874,7 @@ namespace TShockAPI
args.Player.SendInfoMessage("An update check has been queued.");
try
{
TShock.UpdateManager.UpdateCheck(null);
TShock.UpdateManager.UpdateCheckAsync(null);
}
catch (Exception)
{