Advertisement
MsGamerHD

Untitled

May 10th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. try {
  2. int countDown = 10;
  3. for(;;) {
  4. if ( countDown == 0 ) {
  5. break;
  6. }
  7.  
  8. try {
  9. Thread.sleep(1000);
  10. } catch ( InterruptedException e ) { }
  11.  
  12. // Always returns true
  13. if (true) {
  14. Bukkit.broadcastMessage( countDown );
  15. }
  16. countDown--;
  17. }
  18. } catch ( OutOfMemoryException e ) { } // Memory problems ?! NOPE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement