Class ManaTask

All Implemented Interfaces:
Runnable, IThreadTask

public class ManaTask extends RepeatThreadTask

Restores mana to all players over time.

This task is run by the API and you should not use this task yourself.

  • Constructor Details

    • ManaTask

      public ManaTask()
      Starts a new task for regenerating mana over time. The task is started automatically so don't initialize this class unless wanting to start a new task.
  • Method Details

    • run

      public void run()

      Checks all players for mana regeneration each interval