示例#1
0
 public static void teleportToMine() {
   while (!below.validate()) {
     while (!Tabs.EQUIPMENT.open()) Tabs.EQUIPMENT.open();
     WidgetChild gloves = Widgets.get(387, 26);
     if (gloves == null) {
       karajamaGloves = false;
       getState();
       return;
     }
     gloves.interact("Teleport");
     Task.sleep(4000, 6000);
   }
   getState(); // after we teleport to mine we need to get the state
 }