Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DelayedTask

Comments in 'Plugin Development' started by ahoj_truhliku, Jul 18, 2015.

  1. ahoj_truhliku
    Offline

    ahoj_truhliku Banned

    Joined:
    Jul 9, 2015
    Posts:
    89
    Minecraft User:
    Creeperface001
    must i cancel delayedTask too? or it will be cancelled by itself after specified amount of ticks?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    It only runs once. You don't need to explicitly cancel it. (If you need to, what's different between delayed and repeating?)
    ahoj_truhliku likes this.
  3. ahoj_truhliku
    Offline

    ahoj_truhliku Banned

    Joined:
    Jul 9, 2015
    Posts:
    89
    Minecraft User:
    Creeperface001
    yes thx i only want to be sure

Share This Page

Advertisement