This commit is contained in:
RedSparr0w
2019-10-25 19:01:22 +13:00
parent 5ad7579ae4
commit 541d1cc08d
5 changed files with 12 additions and 6 deletions
@@ -46,7 +46,7 @@ public class Fighting implements Strategy {
return victim;
}
}
} catch (Exception err){}
} catch (Exception ಠ_ಠ){}
return null;
}
}
@@ -29,6 +29,12 @@ public class Fish implements Strategy {
@Override
public void execute() {
try {
if (Variables.shouldDropItems()) {
if (Inventory.getCount(441) >= 1) Inventory.getItem(441).interact(Items.Option.DROP);
}
for (int item_id: items)
if (Inventory.getItem(item_id + 1) != null)
Menu.sendAction(431, item_id, Inventory.getItem(item_id + 1).getSlot(), 5064, 3);
fishingSpot.interact(Variables.fishing_type_selected);
Time.sleep(1000);
// Wait for the Player to finish fishing (max 60 seconds)
@@ -39,7 +39,7 @@ public class Mine implements Strategy {
ore.interact(SceneObjects.Option.MINE);
Time.sleep(1000);
Time.sleep(() -> Players.getMyPlayer().getAnimation() == -1, 3000);
} catch (Exception err){
} catch (Exception ಠ_ಠ){
System.out.println("Mining error: ¯\\_(ツ)_/¯");
}
}
@@ -44,7 +44,7 @@ public class Thieving implements Strategy {
return victim;
}
}
} catch (Exception err){}
} catch (Exception ಠ_ಠ){}
return null;
}
}