Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private boolean atBank() {
- final int[] BANKER_IDS = {496, 497 };
- Npc a = Npcs.getNearest(new Filter<Npc>() {
- public boolean accept(Npc npc) {
- for (int a : BANKER_IDS) {
- if (npc != null && npc.getId() == a && npc.isOnScreen()) {
- return true;
- }
- }
- return false;
- }
- });
- return a != null;
- }
Add Comment
Please, Sign In to add comment