Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void doCollect() {
- RSGroundItem toad = groundItems.getNearest(toadID);
- mouse.setSpeed(random(8, 11));
- if(toad != null){
- if(toad.isOnScreen()){
- if (getMyPlayer().isValid());
- status = "Collecting";
- toad.doAction("Take");
- }
- }else{
- if(!toad.isOnScreen()){
- camera.turnToObject(toadID);
- }else{
- walking.walkTileMM(toad.getLocation());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement