Sorry if this is a dumb question, but in the conditional sleep examples you list, in the override you have it return if the player is animating, why is that? I understand that if the tree doesn't exist obviously you'd need to move to another, but if you're performing the chopping animation wouldn't that immediately end the sleep and cause it to attempt to finding and interacting with the closest tree again?
@Override
public boolean condition() {
return myPlayer().isAnimating() || !tree.exists();
}
Thank you so much for this, it's been super helpful, almost got my first script working :>