getPacketEnvironment

abstract EnvType getPacketEnvironment()

Get the environment associated with the packet.

Return

EnvType.CLIENT if processing packet on the client side,EnvType.SERVER otherwise.

Sources

jvm source
Link copied to clipboard