addPlayer

open fun addPlayer(player: ModPlayer)(source)

Adds a player to the team if there's available space. If the team is full or player is null, appropriate messages are logged.

Parameters

player

The player to be added to the team