only one goto target
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user