Problem/Bug Countdown

Discussion in 'Bukkit Help' started by Smillie, Oct 2, 2015.

Thread Status:
Not open for further replies.
  1. Offline



    I'm Currently Working on a MMORPG in Minecraft.
    I'm having some problems with this line of code.

    Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(this, new Runnable() {

    It Says:

    The method scheduleSyncDelayedTask(Plugin, Runnable, long) in the type BukkitScheduler is not applicable for the arguments (Countdown, new Runnable(){}, long) /KingSlime/src/KingSlime line 14 Java Problem
  2. Offline


    Does the class 'Countdown' extend the bukkit class 'Plugin'?
    It looks like the 'this' value in the scheduler represents a class that is not a 'Plugin' class, which is the argument type that the scheduleSyncDelayedTask() is looking for.

    Tell me if that helps anything :)
  3. Offline


Thread Status:
Not open for further replies.

Share This Page