/*     */   public static void sendPacket(Player p, Object packet)
/*     */   {
/*     */     try
/*     */     {
/* 103 */       Object nmsPlayer = getHandle(p);
/* 104 */       Field con_field = nmsPlayer.getClass().getField("playerConnection");
/* 105 */       Object con = con_field.get(nmsPlayer);
/* 106 */       Method packet_method = getMethod(con.getClass(), "sendPacket");
/* 107 */       packet_method.invoke(con, new Object[] { packet });
/*     */     } catch (SecurityException e) {
/* 109 */       e.printStackTrace();
/*     */     } catch (IllegalArgumentException e) {
/* 111 */       e.printStackTrace();
/*     */     } catch (IllegalAccessException e) {
/* 113 */       e.printStackTrace();
/*     */     } catch (InvocationTargetException e) {
/* 115 */       e.printStackTrace();
/*     */     } catch (NoSuchFieldException e) {
/* 117 */       e.printStackTrace();
/*     */     }
/*     */   }