mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-03-07 15:57:17 +08:00
Fix ServerPreConnectEvent not allowing overriding of servers.
This commit is contained in:
parent
6354f10874
commit
5e0b9d09e7
@ -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();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user