small tweaks

This commit is contained in:
Leijurv 2019-09-19 14:43:18 -07:00
parent f0c78751bf
commit 050b6046d7
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
4 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ public class BlacklistCommand extends Command {
@Override @Override
public List<String> getLongDesc() { public List<String> getLongDesc() {
return Arrays.asList( return Arrays.asList(
"While, for example, mining, this command blacklists the closest block so that Baritone won't attempt to get to it.", "While going to a block this command blacklists the closest block so that Baritone won't attempt to get to it.",
"", "",
"Usage:", "Usage:",
"> blacklist" "> blacklist"

View File

@ -52,7 +52,7 @@ public class CancelCommand extends Command {
@Override @Override
public List<String> getLongDesc() { public List<String> getLongDesc() {
return Arrays.asList( return Arrays.asList(
"The cancel command tells Baritons to stop whatever it's currently doing.", "The cancel command tells Baritone to stop whatever it's currently doing.",
"", "",
"Usage:", "Usage:",
"> cancel" "> cancel"

View File

@ -49,7 +49,7 @@ public class InvertCommand extends Command {
} else { } else {
goal = new GoalInverted(goal); goal = new GoalInverted(goal);
} }
customGoalProcess.setGoal(goal); customGoalProcess.setGoalAndPath(goal);
logDirect(String.format("Goal: %s", goal.toString())); logDirect(String.format("Goal: %s", goal.toString()));
} }

View File

@ -41,7 +41,7 @@ public class TunnelCommand extends Command {
ctx.playerFeet(), ctx.playerFeet(),
ctx.player().getHorizontalFacing() ctx.player().getHorizontalFacing()
); );
baritone.getCustomGoalProcess().setGoal(goal); baritone.getCustomGoalProcess().setGoalAndPath(goal);
logDirect(String.format("Goal: %s", goal.toString())); logDirect(String.format("Goal: %s", goal.toString()));
} }