December 7, 201510 yr keeps spam clicking after the sleep, without the sleep it spams like mad? Thought the animation check would work? if(!inventory.isFull() && myPlayer().getAnimation() != 625 && clay.isVisible()){ return State.MINECLAY; case MINECLAY: clay.interact("Mine"); sleep(1000); break;
December 7, 201510 yr Your animation does not update immediately. Add a conditional sleep until your player is animating.
December 7, 201510 yr Author Your animation does not update immediately. Add a conditional sleep until your player is animating. ive got a string on the screen which sows when the animation has changed and it still clicks when the string changes to current annimation? g.drawString(status, 100, 100); status = "animation " + myPlayer().getAnimation();
December 7, 201510 yr ive got a string on the screen which sows when the animation has changed and it still clicks when the string changes to current annimation? g.drawString(status, 100, 100); status = "animation " + myPlayer().getAnimation(); Why not use: myPlayer().isAnimating() ?
Create an account or sign in to comment