public class PlayerLoginSkinEvent extends java.lang.Object implements SkinEvent
SkinEvent
that executes a CommandList
at connection setup.Constructor and Description |
---|
PlayerLoginSkinEvent(boolean login,
@NotNull CommandList commandList,
@NotNull ItemSet itemSet)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Will be called when the skin is disposed.
|
public PlayerLoginSkinEvent(boolean login, @NotNull @NotNull CommandList commandList, @NotNull @NotNull ItemSet itemSet)
login
- whether to generate login events (true
) or logout
events (false
)commandList
- the command list to executeitemSet
- the item set to watch