Just kidding put if else statement back

Nevermind, it has to be there so that nothing shows up if there are no
events