getCooldown

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

cooldownType

the type of cooldown.

cooldownOwner

the owner UUID of the cooldown.