Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. if(!getStore().isOpen()) {
  2. npcs.closest("Magic Store owner").interact("Trade");
  3. sleep(random(3000,5000));
  4. new ConditionalSleep(8000) {
  5. @Override
  6. public boolean condition() throws InterruptedException {
  7. return myPlayer().isUnderAttack() || getStore().isOpen();
  8. }
  9. }.sleep();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement