Change to the newer, shorter scheduler methods.

This commit is contained in:
GJ
2013-03-20 02:15:15 -04:00
parent db2bf9ee51
commit c3a69c8c55
12 changed files with 19 additions and 19 deletions

View File

@ -18,7 +18,7 @@ public class TrackedEntity implements Runnable {
this.livingEntity = livingEntity;
this.id = livingEntity.getUniqueId();
this.scheduler = mcMMO.p.getServer().getScheduler();
this.taskId = scheduler.scheduleSyncRepeatingTask(mcMMO.p, this, 12000, 12000);
this.taskId = scheduler.runTaskTimer(mcMMO.p, this, 12000, 12000).getTaskId();
}
@Override