mirror of
https://github.com/cabaletta/baritone
synced 2025-01-04 22:11:52 +00:00
spam chat less
This commit is contained in:
parent
a93af3404b
commit
3f688bc45e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user