Fixed broken pathfinding start

This commit is contained in:
Anuken 2025-04-30 12:36:08 -04:00
parent 456167bd94
commit b4068f2a74

View file

@ -385,8 +385,7 @@ public class ControlPathfinder implements Runnable{
/** Starts or restarts the pathfinding thread. */
private void start(){
stop();
if(net.client()) return;
if(net.client() || thread != null) return;
thread = new Thread(this, "Control Pathfinder");
thread.setPriority(Thread.MIN_PRIORITY);