title: Minecraft scheduleSyncRepeatingTask Bukkit to another class
body: <p>I am making a Bukkit plugin where I need to update in a loop.</p>
  
  <p>I'm using:</p>
  
  <pre><code>Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this,
          new Runnable() {
      public void run() {
         // CODE
      }
  }, 60, 100);
  </code></pre>
  
  <p>within my <code>onEnable</code> method, but I can't start or stop the method or even getting it.</p>
  
  <p>I want to give a player an <code>Item</code> each second to amount of the item he needs is in the method in another class in an <code>EventHandler</code>.</p>