Running a task timer from a BukkitRunnable class
Calling runTaskTimer
or runTaskTimerAsynchronously
on a BukkitRunnable
class will repeat the task every given number of ticks. The task will repeat until it is canceled or its plugin is disabled. Task timers can also be delayed to offset the initial run of the task. We will use this type of repeating task to complete our AlwaysDay
plugin.