Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean openChest() {
- if (Widgets.get(762).validate()) {
- return true;
- }
- Location chest = Locations.getNearest(chestID);
- if (chest != null) {
- chest.interact("Open");
- for (int i = 0; i < 50 && !Widgets.get(762).validate(); i++) {
- sleep(40);
- }
- }
- return Widgets.get(762).validate();
- }
Add Comment
Please, Sign In to add comment