Throw ping exception

This commit is contained in:
2023-06-08 21:21:03 +08:00
parent 058a6b7ab2
commit 67468cf28b

View File

@ -46,15 +46,15 @@ namespace GrasscutterTools.OpenCommand
public async Task<bool> Ping()
{
try
{
//try
//{
var response = await DoRequest("ping");
return response.RetCode == 200;
}
catch (Exception)
{
return false;
}
//}
//catch (Exception)
//{
// return false;
//}
}
public async Task SendCode(int playerId)