package net.minecraft.server;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import net.minecraft.server.MinecraftServer;

public class bn extends Thread {

	// $FF: synthetic field
	final MinecraftServer a;


	public bn(MinecraftServer var1) {
		this.a = var1;
	}

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

		try {
			while(!this.a.g && MinecraftServer.a(this.a) && (var2 = var1.readLine()) != null) {
				this.a.a(var2, this.a);
			}
		} catch (IOException var4) {
			var4.printStackTrace();
		}

	}
}
