13
0
geforkt von Mirrors/Velocity

Fix ServerPreConnectEvent not allowing overriding of servers.

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-11-14 00:55:20 -05:00
Ursprung 6354f10874
Commit 5e0b9d09e7

Datei anzeigen

@ -521,7 +521,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
return CompletableFuture return CompletableFuture
.completedFuture(ConnectionRequestResults.plainResult(lastCheck.get())); .completedFuture(ConnectionRequestResults.plainResult(lastCheck.get()));
} }
return new VelocityServerConnection((VelocityRegisteredServer) toConnect, return new VelocityServerConnection((VelocityRegisteredServer) rs,
ConnectedPlayer.this, server).connect(); ConnectedPlayer.this, server).connect();
}); });
} }