RepeatingTask Class that is useful for managing bukkit repeatingTasks
I didn't make this, I just cant find OC.
RepeatingTask repeatingTask = new RepeatingTask(this, 0, 20) {
@Override
public void run() {
cancelLoop();
}
}
This will run a loop and cancel it.