SHARE
TWEET

Untitled

a guest Sep 14th, 2017 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     private boolean atPlace(String place){
  2.         RSArea area1 = new RSArea(new RSTile(2933, 3282), new RSTile(2941, 3287));
  3.         RSArea area2 = new RSArea(new RSTile(2930, 3277), new RSTile(2937, 3281));
  4.         if (place.equals("mine")) {
  5.             return area1.contains(getMyPlayer().getLocation());
  6.         }
  7.         if (place.equals("sink")) {
  8.             return area2.contains(getMyPlayer().getLocation());
  9.         }
  10.         return false;
  11.     }
RAW Paste Data
Top