From f08df9555cd90c08f0504d85d433d250e4fe8fbe Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 8 Feb 2014 09:19:22 +1100 Subject: [PATCH] Remove dead IP forward code, Mojang aint bringing that one back --- proxy/src/main/java/net/md_5/bungee/ServerConnector.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java index 4ec72f33..4d5f9c84 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java @@ -67,12 +67,6 @@ public class ServerConnector extends PacketHandler { this.ch = channel; - ByteArrayDataOutput out = ByteStreams.newDataOutput(); - out.writeUTF( "Login" ); - out.writeUTF( user.getAddress().getHostString() ); - out.writeInt( user.getAddress().getPort() ); - // channel.write( new PluginMessage( "BungeeCord", out.toByteArray() ) ); MOJANG - Handshake originalHandshake = user.getPendingConnection().getHandshake(); Handshake copiedHandshake = new Handshake( originalHandshake.getProtocolVersion(), originalHandshake.getHost(), originalHandshake.getPort(), 2 ); if ( BungeeCord.getInstance().config.isIpFoward() )