blahs44

Untitled

Oct 14th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. public void checkForSmoker() throws InterruptedException {
  2.         Position da = myPlayer().getPosition();
  3.         Entity rocks = closestObject(RockID);
  4.         while ((this.client.getMyPlayer().isAnimating())
  5.                 && (!rocks.isInArea(this.MineArea))) {
  6.             log("Smoking Rocks");
  7.             da.interact(this.bot, "Walk here");
  8.             sleep(random(9000, 10000));
  9.         }
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment