mirror of https://github.com/cabaletta/baritone
Merge pull request #3698 from ZacSharp/patch-10
Reliably clear keys when paused
This commit is contained in:
commit
93501248cd
|
@ -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