public Player getNextSeasNext(PlayerPtrVector allPlayers, Team team) {
		Player player;
		while (true) {
			player = allPlayers.GetPlayer(counter);
			if (player == null) {
				return null;
			}
			counter++;
			Contracts contracts = player.getContracts();
			if (team.equals(contracts.getCurrContr().getTeam())
					&& contracts.getCurrContrYears() > 1
					&& contracts.getNextContr().getTeam() == null
					|| team.equals(contracts.getNextContr().getTeam())) {
				return player;
			}
		}
	}