SHARE
TWEET

Untitled

a guest Oct 19th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new BukkitRunnable() {
  2.     int timeLeft = 4;
  3.     public void run() {
  4.         //do stuff
  5.         if(--timeLeft <= 0) this.cancel();
  6.     }
  7. }.runTaskTimer(this, 20L, 20L);
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top