Fixed broken pathfinding start
This commit is contained in:
@@ -385,8 +385,7 @@ public class ControlPathfinder implements Runnable{
|
|||||||
|
|
||||||
/** Starts or restarts the pathfinding thread. */
|
/** Starts or restarts the pathfinding thread. */
|
||||||
private void start(){
|
private void start(){
|
||||||
stop();
|
if(net.client() || thread != null) return;
|
||||||
if(net.client()) return;
|
|
||||||
|
|
||||||
thread = new Thread(this, "Control Pathfinder");
|
thread = new Thread(this, "Control Pathfinder");
|
||||||
thread.setPriority(Thread.MIN_PRIORITY);
|
thread.setPriority(Thread.MIN_PRIORITY);
|
||||||
|
|||||||
Reference in New Issue
Block a user