has Cooldown
open fun hasCooldown(@NotNull cooldownType: @NotNull String, @NotNull cooldownOwner: @NotNull UUID): Boolean(source)
Checks if a cooldown is still valid.
Return
true if the cooldown is still valid, otherwise false.
Parameters
cooldown Type
the name of the cooldown type.
cooldown Owner
the owner UUID of the cooldown.
open fun hasCooldown(@NotNull cooldownType: @NotNull Cooldown.Type, @NotNull cooldownOwner: @NotNull UUID): Boolean(source)
Check if a cooldown is still valid
Return
`true` if the cooldown is still valid, `false` otherwise.
Parameters
cooldown Type
The type of cooldown to check.
cooldown Owner
The owner UUID of the cooldown.