mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Catch NullReferenceException while reconnecting
Exception thrown when no server is currently connected. See issue #19
This commit is contained in:
parent
7f17eef989
commit
bac660d410
1 changed files with 1 additions and 0 deletions
|
|
@ -559,6 +559,7 @@ namespace MinecraftClient
|
|||
}
|
||||
catch (SocketException) { }
|
||||
catch (System.IO.IOException) { }
|
||||
catch (NullReferenceException) { }
|
||||
}
|
||||
|
||||
private List<ChatBot> bots = new List<ChatBot>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue