public class SkillAddedSkinEvent extends java.lang.Object implements SkinEvent
SkinEvent
that executes a CommandList
whenever a new skill
has been gained.Constructor and Description |
---|
SkillAddedSkinEvent(@NotNull CommandList commandList,
@NotNull Skill skill)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Will be called when the skin is disposed.
|
public SkillAddedSkinEvent(@NotNull @NotNull CommandList commandList, @NotNull @NotNull Skill skill)
commandList
- the command list to executeskill
- the skill to monitor