inject

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

Injects player. This method calls when player joined.

Parameters

player

target player

color

bar's color