mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Fix legacy handshake with hostnames that include IP addresses (#571)
This commit is contained in:
@@ -122,7 +122,7 @@ public class VelocityServerConnection implements MinecraftConnectionAssociation,
|
||||
.orElseGet(() -> registeredServer.getServerInfo().getAddress())
|
||||
.getHostString())
|
||||
.append('\0')
|
||||
.append(proxyPlayer.getRemoteAddress().getHostString())
|
||||
.append(proxyPlayer.getRemoteAddress().getAddress().getHostAddress())
|
||||
.append('\0')
|
||||
.append(proxyPlayer.getGameProfile().getUndashedId())
|
||||
.append('\0');
|
||||
|
||||
Reference in New Issue
Block a user