Very easy fix, but i can not figure it out

Discussion in 'BungeeCord Plugin Help' started by Durk, Jun 20, 2015.

  1. Hai!

    So i started editing a Bungeecord plugin, and do keep in mind that I never really got into completing a plugin myself. So i don't really know much about bukkit / bungeecord plugins.
    This error occured, and most of you can probably fix this straight away, but i can't figure it out.
    http://pastebin.com/wD4dGCUX

    The error is the 'this' variable on this line
    Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(this, new Runnable() {


    Thanks! :)
     
  2. Bukkit is not part of bungeecord thats why...
     
  3. I imported a spigot jar and a bungeecord jar?

    And if you are correct, how exactly would i make a cooldown on a command?