dont continue walking if there is no process in charge
This commit is contained in:
parent
7d572d748b
commit
200211c186
@ -82,11 +82,12 @@ public class PathingControlManager implements IPathingControlManager {
|
|||||||
|
|
||||||
public void preTick() {
|
public void preTick() {
|
||||||
inControlLastTick = inControlThisTick;
|
inControlLastTick = inControlThisTick;
|
||||||
|
PathingBehavior p = baritone.getPathingBehavior();
|
||||||
command = executeProcesses();
|
command = executeProcesses();
|
||||||
if (command == null) {
|
if (command == null) {
|
||||||
|
p.cancelSegmentIfSafe();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PathingBehavior p = baritone.getPathingBehavior();
|
|
||||||
switch (command.commandType) {
|
switch (command.commandType) {
|
||||||
case REQUEST_PAUSE:
|
case REQUEST_PAUSE:
|
||||||
p.requestPause();
|
p.requestPause();
|
||||||
|
Loading…
Reference in New Issue
Block a user