13
0
geforkt von Mirrors/Velocity

Fix legacy handshake with hostnames that include IP addresses (#571)

Dieser Commit ist enthalten in:
mdxd44 2021-09-01 18:03:49 +09:00 committet von GitHub
Ursprung 9a15c7e170
Commit bfe2358386
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -1,6 +1,6 @@
# Velocity
[![Build Status](https://img.shields.io/jenkins/s/https/ci.velocitypowered.com/job/velocity.svg)](https://ci.velocitypowered.com/job/velocity/)
[![Build Status](https://img.shields.io/jenkins/s/https/ci.velocitypowered.com/job/velocity.svg)](https://ci.velocitypowered.com/job/velocity-3.0.0/)
[![Join our Discord](https://img.shields.io/discord/472484458856185878.svg?logo=discord&label=)](https://discord.gg/8cB9Bgf)
A Minecraft server proxy with unparalleled server support, scalability,

Datei anzeigen

@ -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');