From b4ddd98bcbe4ec2c0fc0e6ca032de8fb77c5375e Mon Sep 17 00:00:00 2001 From: Brady Date: Sun, 16 Sep 2018 21:24:13 -0500 Subject: [PATCH] cUrLy BrAcKeT --- src/main/java/baritone/behavior/PathingBehavior.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/baritone/behavior/PathingBehavior.java b/src/main/java/baritone/behavior/PathingBehavior.java index b42075d6..6dee8b46 100644 --- a/src/main/java/baritone/behavior/PathingBehavior.java +++ b/src/main/java/baritone/behavior/PathingBehavior.java @@ -310,8 +310,9 @@ public final class PathingBehavior extends Behavior implements Helper { } if (Baritone.settings().simplifyUnloadedYCoord.get()) { BlockPos pos = null; - if (goal instanceof IGoalRenderPos) + if (goal instanceof IGoalRenderPos) { pos = ((IGoalRenderPos) goal).getGoalPos(); + } // TODO simplify each individual goal in a GoalComposite if (pos != null && world().getChunk(pos) instanceof EmptyChunk) {