get Cooldown
open fun getCooldown(@NotNull cooldownType: @NotNull Cooldown.Type, @NotNull cooldownOwner: @NotNull UUID): Cooldown(source)
Gets a cooldown from the list.
Return
the Cooldown
object if found, otherwise null
.
Parameters
cooldown Type
the type of cooldown.
cooldown Owner
the owner UUID of the cooldown.