diff --git a/src/com/projectswg/ServerConnection.java b/src/com/projectswg/ServerConnection.java index 3589c55..bcd4d8d 100644 --- a/src/com/projectswg/ServerConnection.java +++ b/src/com/projectswg/ServerConnection.java @@ -148,7 +148,10 @@ public class ServerConnection { process(buffer, n); } catch (IOException e) { if (connected) { - e.printStackTrace(); + if (e.getMessage().equals("Connection reset")) + System.err.println("Connection reset"); + else + e.printStackTrace(); disconnect(); } } catch (Exception e) {