She uses a confundus charm on mclaggen and then she gets angry at Harry for using a felix felicis on Ron. I actually don't remember Hermione did that but i read on the internet that she did. Well Hermione really thought Harry did that. But i do remember Harry pretended to do that