Because server admins are bitchy we need to support 1.3 as well

This commit is contained in:
md_5 2012-10-29 18:36:25 +11:00
parent 2252bb27c6
commit 428a77bae1
2 changed files with 3 additions and 2 deletions

View File

@ -200,6 +200,7 @@ public class BungeeCord
} }
$().info("Thank you and goodbye"); $().info("Thank you and goodbye");
System.exit(0);
} }
/** /**

View File

@ -78,11 +78,11 @@ public class InitialHandler implements Runnable
break; break;
case 0xFE: case 0xFE:
socket.setSoTimeout(100); socket.setSoTimeout(100);
boolean newPing = true; boolean newPing = false;
try try
{ {
socket.getInputStream().read(); socket.getInputStream().read();
newPing = false; newPing = true;
} catch (IOException ex) } catch (IOException ex)
{ {
} }