Find the error game

i have to go to bed can anyone find the error(its in the moonlander mc). My friend is new at programming and i said i’d give him this to look at. ITs supposed to be the done version. He’s making his own and then he’s gonna compare code.