From afff6395d1f50e52f0a4806acb7e670de1d0b740 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Thu, 27 Jun 2019 21:02:44 -0700 Subject: [PATCH] codcacy wants a default --- src/main/java/baritone/process/BackfillProcess.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/baritone/process/BackfillProcess.java b/src/main/java/baritone/process/BackfillProcess.java index 65e5692e..62ae9640 100644 --- a/src/main/java/baritone/process/BackfillProcess.java +++ b/src/main/java/baritone/process/BackfillProcess.java @@ -85,6 +85,8 @@ public final class BackfillProcess extends BaritoneProcessHelper { // patience baritone.getLookBehavior().updateTarget(fake.getTarget().getRotation().get(), true); return new PathingCommand(null, PathingCommandType.REQUEST_PAUSE); + default: + throw new IllegalStateException(); } } return new PathingCommand(null, PathingCommandType.DEFER); // cede to other process