mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-20 16:07: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
|
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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user