@Override
public int onLoop() throws InterruptedException {
Position myPos = myPosition();
Position targetPos = new Position(2946, 3819, 0);
if (myPos.equals(targetPos)) {
if(this.hopper.isHopping()) {
return this.hopper.execute();
} else {
this.hopper.hop(FrostHopper.HopMode.F2P);
}
return 1000;
} else {
getWalking().webWalk(targetPos);
}
onStart();
return 0;
}
re widget