As the title suggests, I am trying to use \hbar in conjunction with the mlmodern and amsfonts packages. I need to use the \hbar provided by mlmodern, but when amsfonts is loaded, I get the original CM/LM.
I have tried the following, which results in an undefined control sequence error for $\hbar$:
\documentclass{article}
\usepackage{mlmodern}
\let\mlmhbar\hbar
\usepackage{amsfonts}
\let\amshbar\hbar
\begin{document}
\def\hbar{\mlmhbar}
$\hbar$
\end{document}
Any advice is appreciated.

