Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Make Mojang Sessionserver Configurable (#560)
Dieser Commit ist enthalten in:
Ursprung
d3ff6f8e33
Commit
ec4d2d45a1
@ -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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren