public IOClient(Socket client, PacketManager pm) {
		if (client == null)
			return;
		this.client = client;
		this.pm = pm;
		try {
			writer = new PrintStream(client.getOutputStream());
			//writer.flush();
			reader = new DataInputStream(client.getInputStream());
		} catch (IOException e) {
			pm.server.Log("Error");
			e.printStackTrace();
		}
	}