mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
Because server admins are bitchy we need to support 1.3 as well
This commit is contained in:
parent
2252bb27c6
commit
428a77bae1
@ -200,6 +200,7 @@ public class BungeeCord
|
|||||||
}
|
}
|
||||||
|
|
||||||
$().info("Thank you and goodbye");
|
$().info("Thank you and goodbye");
|
||||||
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user