The way ML got MC out of punishment...ML claimed MC was just trying to get revenge on him because when ML was drunk he tried to force himself on MC. That was the story ML went with to protect the MC's "pride". ML misunderstood due to the white lotus passive that MC was crushing on him and due to some drunken promise from years ago, he made some array to transport both MC and ML to a promised place, but because ML forgot, the array turned against him and tried to murder the ML. So it wasn't the MC's fault but the ML's. It's not what really happened, but the white lotus halo has a whatewashing effect (always come out innocent no matter what crime you did). So ML, believing he was the one at fault, went to plead for the MC, but because he wanted to preserve MC's pride, he spun that story that made his teacher cough up blood.