Reliably clear keys when paused
This commit is contained in:
parent
69ffdb7665
commit
1cd2fb5b18
@ -56,6 +56,7 @@ public class ExecutionControlCommands {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PathingCommand onTick(boolean calcFailed, boolean isSafeToCancel) {
|
public PathingCommand onTick(boolean calcFailed, boolean isSafeToCancel) {
|
||||||
|
baritone.getInputOverrideHandler().clearAllKeys();
|
||||||
return new PathingCommand(null, PathingCommandType.REQUEST_PAUSE);
|
return new PathingCommand(null, PathingCommandType.REQUEST_PAUSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user