Merge pull request #1876 from CorruptedSeal/master
Update ExecutionControlCommands.java
This commit is contained in:
commit
5f9602796a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user