private void downloadUpdateProp(final boolean initialDownload){
  if (bootProp != null) {
    serverFolder=bootProp.getProperty("server.folder-1.20",ClientGameConfiguration.get("UPDATE_SERVER_FOLDER")) + "/";
    String updatePropertiesFile=bootProp.getProperty("server.update-prop-1.20",serverFolder + "update-1.20.properties");
    final HttpClient httpClient=new HttpClient(updatePropertiesFile,initialDownload);
    updateProp=httpClient.fetchProperties();
    if (updateProp != null && updateProp.containsKey("init.version")) {
      return;
    }
  }
  String updatePropertiesFile=ClientGameConfiguration.get("UPDATE_SERVER_FOLDER") + "/update-1.20.properties";
  HttpClient httpClient=new HttpClient(updatePropertiesFile,initialDownload);
  updateProp=httpClient.fetchProperties();
  if (updateProp != null && updateProp.containsKey("init.version")) {
    return;
  }
  updatePropertiesFile=ClientGameConfiguration.get("UPDATE_SERVER_FOLDER_FALLBACK") + "/update-1.20.properties";
  httpClient=new HttpClient(updatePropertiesFile,initialDownload);
  updateProp=httpClient.fetchProperties();
}

private void downloadUpdateProp ( final boolean initialDownload ) { if ( bootProp != null ) { serverFolder = bootProp . getProperty ( "server.folder-1.20" , ClientGameConfiguration . get ( "UPDATE_SERVER_FOLDER" ) ) + "/" ; String updatePropertiesFile = bootProp . getProperty ( "server.update-prop-1.20" , serverFolder + "update-1.20.properties" ) ; final HttpClient httpClient = new HttpClient ( updatePropertiesFile , initialDownload ) ; updateProp = httpClient . fetchProperties ( ) ; if ( updateProp != null && updateProp . containsKey ( "init.version" ) ) { return ; } } String updatePropertiesFile = ClientGameConfiguration . get ( "UPDATE_SERVER_FOLDER" ) + "/update-1.20.properties" ; HttpClient httpClient = new HttpClient ( updatePropertiesFile , initialDownload ) ; updateProp = httpClient . fetchProperties ( ) ; if ( updateProp != null && updateProp . containsKey ( "init.version" ) ) { return ; } updatePropertiesFile = ClientGameConfiguration . get ( "UPDATE_SERVER_FOLDER_FALLBACK" ) + "/update-1.20.properties" ; httpClient = new HttpClient ( updatePropertiesFile , initialDownload ) ; updateProp = httpClient . fetchProperties ( ) ; }
connects to the server and loads a property object which contains information about the files available for update .
