/*     */   public static void sendPacket(Player p, Object packet)
/*     */   {
/*     */     try {
/*  68 */       Object nmsPlayer = getHandle(p);
/*  69 */       Field con_field = nmsPlayer.getClass().getField("playerConnection");
/*  70 */       Object con = con_field.get(nmsPlayer);
/*  71 */       Method packet_method = getMethod(con.getClass(), "sendPacket");
/*  72 */       packet_method.invoke(con, new Object[] { packet });
/*     */     } catch (SecurityException e) {
/*  74 */       e.printStackTrace();
/*     */     } catch (IllegalArgumentException e) {
/*  76 */       e.printStackTrace();
/*     */     } catch (IllegalAccessException e) {
/*  78 */       e.printStackTrace();
/*     */     } catch (InvocationTargetException e) {
/*  80 */       e.printStackTrace();
/*     */     } catch (NoSuchFieldException e) {
/*  82 */       e.printStackTrace();
/*     */     }
/*     */   }