Need TaskScheduler How-To

Discussion in 'BungeeCord Plugin Development' started by Favorlock, Mar 21, 2013.

  1. Favorlock

    Sponsor

    Hey everyone, I'm currently trying to use the scheduler api but for some reason I can't get any of the task to schedule. You can look at: http://paste.md-5.net/demupajuco.avrasm for an example of the code I'm using. If you see any faults please let me know. If someone could post a working example for the scheduler api that would be great!
     
  2. md_5

    Administrator Developer

    Apparently no tasks run, I'll look into it
     
  3. Favorlock

    Sponsor

    Ok, thanks for your hard work.
     
  4. Worst case, you could always extend Thread, this.sleep(100000000000000000); (Or however long).
     
  5. Favorlock

    Sponsor

    Uh...
     
  6. md_5

    Administrator Developer

    Should be fixed btw
     
  7. Favorlock

    Sponsor

    Yup, it's working now.