Merge pull request #1876 from CorruptedSeal/master

Update ExecutionControlCommands.java
This commit is contained in:
Leijurv 2020-08-17 16:17:01 -07:00 committed by GitHub
commit 5f9602796a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ public class ExecutionControlCommands {
} }
} }
); );
pauseCommand = new Command(baritone, "pause") { pauseCommand = new Command(baritone, "pause", "p") {
@Override @Override
public void execute(String label, IArgConsumer args) throws CommandException { public void execute(String label, IArgConsumer args) throws CommandException {
args.requireMax(0); args.requireMax(0);
@ -112,7 +112,7 @@ public class ExecutionControlCommands {
); );
} }
}; };
resumeCommand = new Command(baritone, "resume") { resumeCommand = new Command(baritone, "resume", "r") {
@Override @Override
public void execute(String label, IArgConsumer args) throws CommandException { public void execute(String label, IArgConsumer args) throws CommandException {
args.requireMax(0); args.requireMax(0);
@ -171,7 +171,7 @@ public class ExecutionControlCommands {
); );
} }
}; };
cancelCommand = new Command(baritone, "cancel", "stop") { cancelCommand = new Command(baritone, "cancel", "c", "stop") {
@Override @Override
public void execute(String label, IArgConsumer args) throws CommandException { public void execute(String label, IArgConsumer args) throws CommandException {
args.requireMax(0); args.requireMax(0);