mirror of https://github.com/cabaletta/baritone
only one goto target
This commit is contained in:
parent
d19039e3e5
commit
d1c2a0491c
|
@ -48,7 +48,7 @@ public class GotoCommand extends Command {
|
||||||
baritone.getCustomGoalProcess().setGoalAndPath(goal);
|
baritone.getCustomGoalProcess().setGoalAndPath(goal);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
args.requireMax(1);
|
||||||
BlockOptionalMeta destination = args.getDatatypeFor(ForBlockOptionalMeta.INSTANCE);
|
BlockOptionalMeta destination = args.getDatatypeFor(ForBlockOptionalMeta.INSTANCE);
|
||||||
baritone.getGetToBlockProcess().getToBlock(destination);
|
baritone.getGetToBlockProcess().getToBlock(destination);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue