Commit 6663f760 authored by szefo09's avatar szefo09 Committed by GitHub

Merge pull request #12 from purerosefallen/mcpro-unity

fixes
parents fe67e7e2 7cd98141
......@@ -96,7 +96,7 @@ public class MyCard : WindowServantSP
(new Thread(() => { TcpHelper.join(mycard_ip, username, match_type == "athletic" ? athletic_port : entertain_port, pswString, "0x" + String.Format("{0:X}", Config.ClientVersion)); })).Start();
isRequesting = false;
} catch (Exception e) {
if (!e.GetType().Equals(ThreadAbortException)) {
if (e.GetType() != typeof(ThreadAbortException)) {
Program.PrintToChat(InterString.Get("未知错误: ") + e.Message);
} else {
Program.PrintToChat("匹配已中断。");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment