private boolean containsEnemyWool(TeamPlayer p, CTFTeam team) {
		Wool w = new Wool(this.GoalTeam.getColor());
		//Check for wool
		
		for (ItemStack m : p.getPlayer().getInventory()) {
			
			
			//If item in inventory is wool
			if (m != null && m.getType().equals(Material.WOOL))
			{
				
				System.out.println("Got some wool");
				
				for (CTFTeam t: ((EditTeam)this.GoalTeam).session.getTeams()){
					if (t.getColor().getWoolData() == m.getData().getData()){
						t.resetFlag();
					}
				}
				
				p.getPlayer().getInventory().remove(m);
				return true;
			}
		}
		return false;
	}