does eating work while walking?
this code doesnt seem to work for me... idk why need help..
public int onLoop() throws InterruptedException {
if (this.gui.isStarted()) {
if (this.myPlayer().getHealthPercent() < 80) {
if (this.getInventory().contains("Trout")) {
this.getInventory().getItem("Trout").interact("Eat");
sleep(random(500, 2000));