mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
Remove debug + kick properly
This commit is contained in:
parent
f27f8e9ae7
commit
6ad40aba66
@ -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 ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user