diff --git a/src/main/java/baritone/behavior/impl/PathingBehavior.java b/src/main/java/baritone/behavior/impl/PathingBehavior.java index 4b5f1f432..e7c20c612 100644 --- a/src/main/java/baritone/behavior/impl/PathingBehavior.java +++ b/src/main/java/baritone/behavior/impl/PathingBehavior.java @@ -203,6 +203,12 @@ public class PathingBehavior extends Behavior { * @return true if this call started path calculation, false if it was already calculating or executing a path */ public boolean path() { + if (goal == null) { + return false; + } + if (goal.isInGoal(playerFeet())) { + return false; + } synchronized (pathPlanLock) { if (current != null) { return false;