Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!getStore().isOpen()) {
- npcs.closest("Magic Store owner").interact("Trade");
- sleep(random(3000,5000));
- new ConditionalSleep(8000) {
- @Override
- public boolean condition() throws InterruptedException {
- return myPlayer().isUnderAttack() || getStore().isOpen();
- }
- }.sleep();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement