blahs44

Untitled

Sep 24th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1. public boolean WorldIsBlackListed(int WorldID) {
  2.         for (int BlackList : this.BlackListID) {
  3.             if (WorldID == BlackList) {
  4.                 return true;
  5.             }
  6.         }
  7.         return false;
  8.     }
  9.  
  10.     public int worldHop() throws InterruptedException {
  11.         int World = random(301, 378);
  12.  
  13.         while ((WorldIsBlackListed(World))
  14.                 || (World == this.client.getCurrentWorld())) {
  15.             World = random(301, 378);
  16.         }
  17.  
  18.         this.worldsHopped += 1;
  19.         this.state = State.BUY;
  20.         this.worldHopper.hopWorld(World);
  21.         if (this.client.getInterface(World).isValid())
  22.             sleep(1000);
  23.  
  24.         return 250;
  25.     }
Advertisement
Add Comment
Please, Sign In to add comment