mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Fix ServerPreConnectEvent not allowing overriding of servers.
This commit is contained in:
@@ -521,7 +521,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
||||
return CompletableFuture
|
||||
.completedFuture(ConnectionRequestResults.plainResult(lastCheck.get()));
|
||||
}
|
||||
return new VelocityServerConnection((VelocityRegisteredServer) toConnect,
|
||||
return new VelocityServerConnection((VelocityRegisteredServer) rs,
|
||||
ConnectedPlayer.this, server).connect();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user