only one goto target

This commit is contained in:
Leijurv 2019-10-06 13:49:24 -07:00
parent d19039e3e5
commit d1c2a0491c
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -48,7 +48,7 @@ public class GotoCommand extends Command {
baritone.getCustomGoalProcess().setGoalAndPath(goal);
return;
}
args.requireMax(1);
BlockOptionalMeta destination = args.getDatatypeFor(ForBlockOptionalMeta.INSTANCE);
baritone.getGetToBlockProcess().getToBlock(destination);
}