Fixed illogical getNextPlayer().