package net.minecraft.server.dedicated;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import net.minecraft.server.dedicated.DedicatedServer;

class DedicatedServerCommandThread extends Thread {

   // $FF: synthetic field
   final DedicatedServer field_72428_a;


   DedicatedServerCommandThread(DedicatedServer p_i1505_1_) {
      this.field_72428_a = p_i1505_1_;
   }

   public void run() {
      BufferedReader var1 = new BufferedReader(new InputStreamReader(System.in));

      String var2;
      try {
         while(!this.field_72428_a.func_71241_aa() && this.field_72428_a.func_71278_l() && (var2 = var1.readLine()) != null) {
            this.field_72428_a.func_71331_a(var2, this.field_72428_a);
         }
      } catch (IOException var4) {
         var4.printStackTrace();
      }

   }
}
