Guest User

Untitled

a guest
Jul 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1.     private boolean atBank() {
  2.         final int[] BANKER_IDS = {496, 497 };
  3.         Npc a = Npcs.getNearest(new Filter<Npc>() {
  4.             public boolean accept(Npc npc) {
  5.                 for (int a : BANKER_IDS) {
  6.                     if (npc != null && npc.getId() == a && npc.isOnScreen()) {
  7.                         return true;
  8.                     }
  9.                 }
  10.                 return false;
  11.             }
  12.         });
  13.         return a != null;
  14.     }
Add Comment
Please, Sign In to add comment