From d1c2a0491c1ee00ae29eb67c829a59a7098b58b3 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 6 Oct 2019 13:49:24 -0700 Subject: [PATCH] only one goto target --- src/main/java/baritone/command/defaults/GotoCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/command/defaults/GotoCommand.java b/src/main/java/baritone/command/defaults/GotoCommand.java index 4103bd1e..9659fff8 100644 --- a/src/main/java/baritone/command/defaults/GotoCommand.java +++ b/src/main/java/baritone/command/defaults/GotoCommand.java @@ -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); }