From 355443e440fe3ca291162130936f67b40f5b982a Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 11 Nov 2018 12:48:53 -0800 Subject: [PATCH] forgot one --- src/main/java/baritone/behavior/PathingBehavior.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/behavior/PathingBehavior.java b/src/main/java/baritone/behavior/PathingBehavior.java index 93a8c35c..b1d2fc56 100644 --- a/src/main/java/baritone/behavior/PathingBehavior.java +++ b/src/main/java/baritone/behavior/PathingBehavior.java @@ -474,7 +474,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior, } if (Baritone.settings().simplifyUnloadedYCoord.get() && goal instanceof IGoalRenderPos) { BlockPos pos = ((IGoalRenderPos) goal).getGoalPos(); - if (world().getChunk(pos) instanceof EmptyChunk) { + if (context.world().getChunk(pos) instanceof EmptyChunk) { logDebug("Simplifying " + goal.getClass() + " to GoalXZ due to distance"); goal = new GoalXZ(pos.getX(), pos.getZ()); }