RealIP
RealIP copied to clipboard
`getForcedHost` broken with TCPShield
Using the following function in bungeecord AbstractReconnectHandler.getForcedHost(connection); always returns the hub and not the actual forced host.
Example:
@EventHandler
public void onProxyPing(ProxyPingEvent event) {
PendingConnection connection = event.getConnection();
ServerInfo forcedHost = AbstractReconnectHandler.getForcedHost(connection);
}