From 56bd782625de048e71937ea4593b5ab66a0f0ef9 Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 26 Feb 2013 10:02:25 -0500 Subject: [PATCH] Getting it through Bukkit is bad. --- .../java/com/gmail/nossr50/skills/archery/TrackedEntity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/archery/TrackedEntity.java b/src/main/java/com/gmail/nossr50/skills/archery/TrackedEntity.java index a8db0ff97..49c01c067 100644 --- a/src/main/java/com/gmail/nossr50/skills/archery/TrackedEntity.java +++ b/src/main/java/com/gmail/nossr50/skills/archery/TrackedEntity.java @@ -1,6 +1,5 @@ package com.gmail.nossr50.skills.archery; -import org.bukkit.Bukkit; import org.bukkit.entity.LivingEntity; import org.bukkit.scheduler.BukkitScheduler; @@ -14,7 +13,7 @@ public class TrackedEntity implements Runnable { protected TrackedEntity(LivingEntity livingEntity) { this.livingEntity = livingEntity; - this.scheduler = Bukkit.getScheduler(); + this.scheduler = mcMMO.p.getServer().getScheduler(); this.taskId = scheduler.scheduleSyncRepeatingTask(mcMMO.p, this, 12000, 12000); }