sendPacket

fun Player.sendPacket(packet: PacketWrapper<*>)

Sends a packet to a player using the global PacketEvents.getAPI instance.