'EventType' does not contain definition for "MouseUp"

i just installed the UFPS AI Addon and i have this error:

CS0117: 'EventType’does not contain definition for “MouseUp” and it happens in a script called TargetMover.cs at line 23 as this is the code:
using UnityEngine;
using System.Collections;

public class TargetMover : MonoBehaviour {
	
	/** Mask for the raycast placement */
	public LayerMask mask;
	
	public Transform target;
	
	/** Determines if the target position should be updated every frame or only on double-click */
	public bool onlyOnDoubleClick;
	
	Camera cam;
	
	public void Start () {
		//Cache the Main Camera
		cam = Camera.main;
	}
	
	public void OnGUI () {
		
		if (onlyOnDoubleClick && cam != null && Event.current.type == EventType.MouseUp && Event.current.clickCount == 2) {
			UpdateTargetPosition ();
		}
	}
	
	// Update is called once per frame
	void Update () {
		
		if (!onlyOnDoubleClick && cam != null) {
			UpdateTargetPosition ();
		}
		
	}
	
	public void UpdateTargetPosition () {
		//Fire a ray through the scene at the mouse position and place the target where it hits
		RaycastHit hit;
		if (Physics.Raycast	(cam.ScreenPointToRay (Input.mousePosition), out hit, Mathf.Infinity, mask)) {
			target.position = hit.point;
		}
	}
	
}

Since you’ve just installed another add-on this gives you a clue as to what might be happening. Ensure that the new add-on you installed does not also have an enum type EventType.

You can fully qualify the EventType you’re trying to use with UnityEngine.EventType.MouseUp so the compiler knows which one to use.