fix unable to move while paused

This commit is contained in:
Leijurv 2019-04-16 22:43:33 -07:00
parent c136182e17
commit 44d757347b
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -296,7 +296,7 @@ public class BuilderProcess extends BaritoneProcessHelper implements IBuilderPro
} }
baritone.getInputOverrideHandler().clearAllKeys(); baritone.getInputOverrideHandler().clearAllKeys();
if (paused) { if (paused) {
return new PathingCommand(null, PathingCommandType.REQUEST_PAUSE); return new PathingCommand(null, PathingCommandType.CANCEL_AND_SET_GOAL);
} }
if (Baritone.settings().buildInLayers.value) { if (Baritone.settings().buildInLayers.value) {
if (realSchematic == null) { if (realSchematic == null) {