mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
Cleanup debug
This commit is contained in:
parent
26be0566f4
commit
d96e561a6f
@ -83,14 +83,6 @@ public class ServerConnector extends PacketHandler
|
||||
user.getPendingConnects().remove( target );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(PacketWrapper packet) throws Exception
|
||||
{
|
||||
int packetID = DefinedPacket.readVarInt( packet.buf );
|
||||
System.out.println( packetID + " : " + packet.packet );
|
||||
super.handle( packet ); //To change body of generated methods, choose Tools | Templates.
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(LoginSuccess loginSuccess) throws Exception
|
||||
{
|
||||
|
@ -100,14 +100,6 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
||||
this.ch = channel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(PacketWrapper packet) throws Exception
|
||||
{
|
||||
// int len = DefinedPacket.readVarInt( packet.buf );
|
||||
// int id = DefinedPacket.readVarInt( packet.buf );
|
||||
// throw new UnsupportedOperationException( "Cannot handle unknown packet at login!" );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void exception(Throwable t) throws Exception
|
||||
{
|
||||
@ -347,7 +339,6 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
||||
{
|
||||
UUID = java.util.UUID.randomUUID().toString();
|
||||
}
|
||||
System.out.println( ch.getHandle().pipeline() );
|
||||
unsafe.sendPacket( new LoginSuccess( UUID, getName() ) );
|
||||
ch.setProtocol( Protocol.GAME );
|
||||
|
||||
|
@ -41,7 +41,6 @@ public class PipelineUtils
|
||||
BASE.initChannel( ch );
|
||||
ch.pipeline().addAfter( FRAME_DECODER, PACKET_DECODER, new MinecraftDecoder( Protocol.HANDSHAKE, true ) );
|
||||
ch.pipeline().addAfter( FRAME_PREPENDER, PACKET_ENCODER, new MinecraftEncoder( Protocol.HANDSHAKE, true ) );
|
||||
System.out.println( ch.pipeline() );
|
||||
ch.pipeline().get( HandlerBoss.class ).setHandler( new InitialHandler( ProxyServer.getInstance(), ch.attr( LISTENER ).get() ) );
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user