Solved "L" in DelayedTask

Discussion in 'Plugin Development' started by CreeperShift, Apr 4, 2013.

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

    CreeperShift

    I'm wondering, what does the "L" stand for in here:

    Code:
    scheduleSyncDelayedTask(plugin, new Runnable() {
                                    public void run() {
                                       
                                       
                                    }
                                  }, 60L);
    The 6o are obviously the delay in ticks, but what does the L mean?

    The reason I'm asking, is because I want to load the delay from a config, but I'm not sure what to do with the "L" once I set the delay to a variable.
     
  2. Offline

    iZanax

    CreeperShift likes this.
  3. CreeperShift
    Do not use "L" when setting the number in config, just get it as an integer.
     
  4. Offline

    CreeperShift

    Oh god, now that you say it, it makes sense >_> I was thinking it was something bukkit specific :O
    Thanks :p


    Yeah, don't worry I wasn't doing that, I was just wondering why it's there ;)
     
Thread Status:
Not open for further replies.

Share This Page