#3378: Remove KickStringWriter from the pipeline after handshake arrives
This commit is contained in:
parent
5b4a540440
commit
68e74a8c03
@ -314,6 +314,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
|||||||
Preconditions.checkState( thisState == State.HANDSHAKE, "Not expecting HANDSHAKE" );
|
Preconditions.checkState( thisState == State.HANDSHAKE, "Not expecting HANDSHAKE" );
|
||||||
this.handshake = handshake;
|
this.handshake = handshake;
|
||||||
ch.setVersion( handshake.getProtocolVersion() );
|
ch.setVersion( handshake.getProtocolVersion() );
|
||||||
|
ch.getHandle().pipeline().remove( PipelineUtils.LEGACY_KICKER );
|
||||||
|
|
||||||
// Starting with FML 1.8, a "\0FML\0" token is appended to the handshake. This interferes
|
// Starting with FML 1.8, a "\0FML\0" token is appended to the handshake. This interferes
|
||||||
// with Bungee's IP forwarding, so we detect it, and remove it from the host string, for now.
|
// with Bungee's IP forwarding, so we detect it, and remove it from the host string, for now.
|
||||||
|
Loading…
Reference in New Issue
Block a user