inject

abstract fun inject(@NotNull hudPlayer: @NotNull HudPlayer, @NotNull color: @NotNull BossBar.Color)

Injects hudPlayer. This method calls when HudPlayer joined.

Parameters

hudPlayer

target HudPlayer

color

bar's color