Interface CooldownCreationListener<C>
- Type Parameters:
C- command sender type
- All Known Implementing Classes:
ScheduledCleanupCreationListener
Listener that gets invoked when a new cooldown is created.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidcooldownCreated(@NonNull C sender, @NonNull Command<C> command, @NonNull CooldownInstance instance) Invoked when a new cooldown is created.
-
Method Details
-
cooldownCreated
void cooldownCreated(@NonNull C sender, @NonNull Command<C> command, @NonNull CooldownInstance instance) Invoked when a new cooldown is created.- Parameters:
sender- sender that the cooldown is created forcommand- command that triggered the cooldown creationinstance- created instance
-