Fixed build (removed hlint annotations for now). Fixed nextPlayer