Interface CooldownManager


public interface CooldownManager
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static void
    addAbilityCooldown​(org.bukkit.entity.Player player, Ability ability, int time)
    Adds a ability cooldown to a player
  • Method Details

    • addAbilityCooldown

      static void addAbilityCooldown(org.bukkit.entity.Player player, Ability ability, int time)
      Adds a ability cooldown to a player
      Parameters:
      player - The player you're adding the cooldown to
      ability - The ability you're putting them on cooldown for
      time - The amount of time they should be on cooldown for