public void run() {
      try {
         if(this.frozen) {
            try {
               Thread.sleep(100L);
            } catch (InterruptedException var2) {
               var2.printStackTrace();
            }
         }

         this.status = "Getting level list..";
         URL var1 = new URL("http://" + this.minecraft.host + "/listmaps.jsp?user=" + this.minecraft.session.username);
         BufferedReader var4 = new BufferedReader(new InputStreamReader(var1.openConnection().getInputStream()));
         this.levels = var4.readLine().split(";");
         if(this.levels.length >= 5) {
            this.setLevels(this.levels);
            this.loaded = true;
            return;
         }

         this.status = this.levels[0];
         this.finished = true;
      } catch (Exception var3) {
         var3.printStackTrace();
         this.status = "Failed to load levels";
         this.finished = true;
      }

   }