inject

@NotNull
abstract fun inject(@NotNull player: @NotNull Player): @NotNull PlayerChannelHandler

Injects a Netty channel handler into a player's connection.

Return

the created channel handler

Since

1.15.2

Parameters

player

the player to inject