daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Nov 15th, 2018 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @Override
  2.     public void sequence() {
  3.         super.sequence();
  4.  
  5.         final int delay = 50;
  6.  
  7.         TaskManager.submit(new Task(50) {
  8.             int ticks = 0;
  9.             @Override
  10.             protected void execute() {
  11.                 if (ticks == 0) {
  12.                     forceChat("Hello");
  13.                 } else if (ticks >= delay) {
  14.                     stop();
  15.                 }
  16.                 ticks++;
  17.             }
  18.         });
  19.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top