1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-04 14:44:44 +02:00

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

@ -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