Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private boolean atPlace(String place){
- RSArea area1 = new RSArea(new RSTile(2933, 3282), new RSTile(2941, 3287));
- RSArea area2 = new RSArea(new RSTile(2930, 3277), new RSTile(2937, 3281));
- if (place.equals("mine")) {
- return area1.contains(getMyPlayer().getLocation());
- }
- if (place.equals("sink")) {
- return area2.contains(getMyPlayer().getLocation());
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement