Commit, umm why...?

I don’t know why netbeans is saying I don’t have a return statement for
leavingRoom() in the Player class