Implement UUID forwarding, you MUST update Spigot for this to work
This commit is contained in:
parent
d0d0f4ec9f
commit
5ea4763ae9
@ -77,7 +77,7 @@ public class ServerConnector extends PacketHandler
|
|||||||
Handshake copiedHandshake = new Handshake( originalHandshake.getProtocolVersion(), originalHandshake.getHost(), originalHandshake.getPort(), 2 );
|
Handshake copiedHandshake = new Handshake( originalHandshake.getProtocolVersion(), originalHandshake.getHost(), originalHandshake.getPort(), 2 );
|
||||||
if ( BungeeCord.getInstance().config.isIpFoward() )
|
if ( BungeeCord.getInstance().config.isIpFoward() )
|
||||||
{
|
{
|
||||||
copiedHandshake.setHost( copiedHandshake.getHost() + "\00" + user.getAddress().getHostString() );
|
copiedHandshake.setHost( copiedHandshake.getHost() + "\00" + user.getAddress().getHostString() + "\00" + user.getUUID() );
|
||||||
}
|
}
|
||||||
channel.write( copiedHandshake );
|
channel.write( copiedHandshake );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user