Class CooldownTask

All Implemented Interfaces:
IThreadTask, Runnable

public class CooldownTask extends RepeatThreadTask
Handles updating cooldown values on skill bars for players
  • Constructor Details

    • CooldownTask

      public CooldownTask()
      Initializes a new cooldown task. This shouldn't be used by other plugins as it is already set up by the API and additional copies would create extra processing for no real gain.
  • Method Details

    • run

      public void run()
      Updates the cooldowns on skill bars each second