Silence EOF error on login - see #127

This commit is contained in:
md_5 2013-02-16 09:35:54 +11:00
parent 05a6b566b2
commit 190e5109cf

View File

@ -1,6 +1,7 @@
package net.md_5.bungee;
import com.google.common.base.Preconditions;
import java.io.EOFException;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
@ -175,6 +176,8 @@ public class InitialHandler extends PacketHandler implements Runnable, PendingCo
} catch ( KickException ex )
{
disconnect( "[Proxy - Kicked] " + ex.getMessage() );
} catch ( EOFException ex )
{
} catch ( Exception ex )
{
disconnect( "[Proxy Error] " + Util.exception( ex ) );