cUrLy BrAcKeT

This commit is contained in:
Brady committed 2018-09-16 21:24:13 -05:00
1 parent aa2caf63d3
commit b4ddd98bcb
1 file changed
+2 -1
@@ -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) {