getSender

static PacketSender getSender()

Gets the packet sender which sends packets to the connected server.

Return

the client's packet sender

Throws

if the client is not connected to a server

Sources

jvm source
Link copied to clipboard