Remove debug + kick properly

This commit is contained in:
md_5 2013-02-16 09:01:12 +11:00
parent f27f8e9ae7
commit 6ad40aba66

View File

@ -171,9 +171,11 @@ public class InitialHandler extends PacketHandler implements Runnable, PendingCo
{ {
byte[] buf = stream.readPacket(); byte[] buf = stream.readPacket();
DefinedPacket packet = DefinedPacket.packet( buf ); DefinedPacket packet = DefinedPacket.packet( buf );
System.out.println( packet );
packet.handle( this ); packet.handle( this );
} }
} catch ( KickException ex )
{
disconnect( "[Proxy - Kicked] " + ex.getMessage() );
} catch ( Exception ex ) } catch ( Exception ex )
{ {
disconnect( "[Proxy Error] " + Util.exception( ex ) ); disconnect( "[Proxy Error] " + Util.exception( ex ) );