Update ExecutionControlCommands.java

This commit is contained in:
CorruptedSeal 2020-07-16 03:45:23 -06:00 committed by GitHub
parent eafca1e1fe
commit 6603e8b11e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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);