blahs44

Untitled

Sep 25th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. public int pickup() {
  2.  
  3.         for (RS2Object obj : this.client.getCurrentRegion().getObjects())
  4.             if (obj.getId() == this.fungiID)
  5.                 try {
  6.                     obj.interact("Pick", "Fungi on log", false, 5, false, false);
  7.                     sleep(random(1200, 1600));
  8.                 } catch (Exception localException) {
  9.                 }
  10.  
  11.         this.state = State.OPERATE;
  12.         return 250;
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment