How to fix?

Discussion in 'Plugin Development' started by Techtony96, Jan 9, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Techtony96

    I get this error:
    The method scheduleAsyncRepeatingTask(Plugin, Runnable, long, long) from the type BukkitScheduler is deprecated

    on (bolded/underlined part)

    int countdownrunnable = this.getServer().getScheduler().scheduleAsyncRepeatingTask(this, new Runnable() {


    How do i fix this?
     
  2. Offline

    fireblast709

    .runTaskTimerAsynchronously(this, new Runnable(){stuff}, initial delay, interval).getTaskId();
     
    Techtony96 likes this.
  3. Offline

    Techtony96

Thread Status:
Not open for further replies.

Share This Page