Jump to content

jonny1179

Members
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

827 profile views
  • EXP

jonny1179's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. This is an old script I made, hasn't been tested in a few months however might still work. It AFK's with a Cannon at caged ogres. AFKCannon.jar
  2. Your logic for selecting which pot to drink could be simplified: Optional<Item> prayerPotion = Arrays.stream(getInventory().getItems()) .filter(item -> item != null && item.getName().startsWith("Prayer potion")) .min(Comparator.comparing(Item::getName)); if (prayerPotion.isPresent()) { Item pot = prayerPotion.get(); }
×
×
  • Create New...