Catch exception while moving cursor in ConsoleIO

- ConsoleIO bug report by ibspa.
- Also: NullReferenceException when closing connection
This commit is contained in:
ORelio 2015-10-20 22:54:58 +02:00
parent a5bf62bc94
commit e8a8ca4e7a
2 changed files with 23 additions and 11 deletions

View file

@ -85,6 +85,7 @@ namespace MinecraftClient.Protocol.Handlers
}
}
catch (SocketException) { return false; }
catch (NullReferenceException) { return false; }
return true;
}