1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to check if task is started?

Discussion in 'Development' started by kaliiks, Feb 3, 2017.

  1. kaliiks

    kaliiks Zombie

    Messages:
    250
    Does anyone know how i do it?
     
  2. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    onRun($currentTick){} gets called when a task is started?
     
  3. kaliiks

    kaliiks Zombie

    Messages:
    250
    yes
     
  4. xBeastMode

    xBeastMode Shog Chips

    Messages:
    0
    Explain more. What if I told you: you can check if it started when it starts. Would that make any sense to you?
     
  5. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    You could just notify your other classes from the Task.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.