mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-26 10:37:46 +01:00
Silence EOF error on login - see #127
This commit is contained in:
parent
05a6b566b2
commit
190e5109cf
@ -1,6 +1,7 @@
|
|||||||
package net.md_5.bungee;
|
package net.md_5.bungee;
|
||||||
|
|
||||||
import com.google.common.base.Preconditions;
|
import com.google.common.base.Preconditions;
|
||||||
|
import java.io.EOFException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
||||||
import java.net.Socket;
|
import java.net.Socket;
|
||||||
@ -175,6 +176,8 @@ public class InitialHandler extends PacketHandler implements Runnable, PendingCo
|
|||||||
} catch ( KickException ex )
|
} catch ( KickException ex )
|
||||||
{
|
{
|
||||||
disconnect( "[Proxy - Kicked] " + ex.getMessage() );
|
disconnect( "[Proxy - Kicked] " + ex.getMessage() );
|
||||||
|
} catch ( EOFException ex )
|
||||||
|
{
|
||||||
} catch ( Exception ex )
|
} catch ( Exception ex )
|
||||||
{
|
{
|
||||||
disconnect( "[Proxy Error] " + Util.exception( ex ) );
|
disconnect( "[Proxy Error] " + Util.exception( ex ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user