diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index 19f889f7..a3cf9c96 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -205,6 +205,7 @@ public final class UserConnection implements ProxiedPlayer .channel( NioSocketChannel.class ) .group( BungeeCord.getInstance().eventLoops ) .handler( initializer ) + .localAddress( getPendingConnection().getListener().getHost().getHostString(), 0 ) .option( ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000 ) // TODO: Configurable .remoteAddress( target.getAddress() ) .connect().addListener( listener );