13
0
geforkt von Mirrors/Velocity

Make Mojang Sessionserver Configurable (#560)

Dieser Commit ist enthalten in:
Corey Shupe 2021-08-17 13:14:39 -04:00 committet von GitHub
Ursprung d3ff6f8e33
Commit ec4d2d45a1
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -75,7 +75,8 @@ public class LoginSessionHandler implements MinecraftSessionHandler {
private static final Logger logger = LogManager.getLogger(LoginSessionHandler.class);
private static final String MOJANG_HASJOINED_URL =
"https://sessionserver.mojang.com/session/minecraft/hasJoined?username=%s&serverId=%s";
System.getProperty("mojang.sessionserver", "https://sessionserver.mojang.com/session/minecraft/hasJoined")
.concat("?username=%s&serverId=%s");
private final VelocityServer server;
private final MinecraftConnection mcConnection;