Jump to content

All Food Support


Mikey

Recommended Posts

my v

 public boolean eatShit() throws InterruptedException {        for (Item current : client.getInventory().getItems()) {
            if (current.getDefinition().getActions() != null) {                String[] strings = Arrays.copyOf(current.getDefinition().getActions(), current.getDefinition().getActions().length);
                Arrays.sort(strings);                if (Arrays.binarySearch(strings, "Eat") >= 0) {
                    return client.getInventory().interactWithId(current.getId(), "Eat");
                }            }        }        return false;    }
 
Edited by PolishCivil
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...