Aura.Channel.Skills.Life.Gathering.CheckHand C# (CSharp) Method

CheckHand() private method

Returns true if item is correct for collect tag.
private CheckHand ( string tag, Item item ) : bool
tag string
item Item
return bool
		private bool CheckHand(string tag, Item item)
		{
			if (string.IsNullOrWhiteSpace(tag) || tag == "/")
				return true;

			if ((tag == "/barehand/" && item != null) || (tag != "/barehand/" && (item == null || !item.Data.HasTag(tag))))
				return false;

			return true;
		}