Solved cancel() question

Discussion in 'Plugin Development' started by stefvanschie, Aug 31, 2015.

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

    stefvanschie

    Hey,

    I've a small little question. If I do this.cancel(); in my BukkitRunnable, does it cancells the code after that as well? Or does it continues with that code?
     
  2. Offline

    mythbusterma

    @stefvanschie

    No, it will not return out of the run() function. Use "return" for that.
     
    stefvanschie likes this.
  3. Offline

    stefvanschie

Thread Status:
Not open for further replies.

Share This Page