mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Forward-port 61c0c0d083
This commit is contained in:
@@ -871,7 +871,8 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
||||
&& !connectedServer.hasCompletedJoin())) {
|
||||
return ConnectionRequestBuilder.Status.CONNECTION_IN_PROGRESS;
|
||||
}
|
||||
if (connectedServer != null && connectedServer.target().equals(server)) {
|
||||
if (connectedServer != null && connectedServer.target().serverInfo()
|
||||
.equals(server.serverInfo())) {
|
||||
return ALREADY_CONNECTED;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user