Interface CooldownManager
public interface CooldownManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAbilityCooldown(org.bukkit.entity.Player player, Ability ability, int time)
Adds a ability cooldown to a player
-
Method Details
-
addAbilityCooldown
Adds a ability cooldown to a player- Parameters:
player
- The player you're adding the cooldown toability
- The ability you're putting them on cooldown fortime
- The amount of time they should be on cooldown for
-