cUrLy BrAcKeT

This commit is contained in:
Brady 2018-09-16 21:24:13 -05:00
parent aa2caf63d3
commit b4ddd98bcb
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -310,8 +310,9 @@ public final class PathingBehavior extends Behavior implements Helper {
} }
if (Baritone.settings().simplifyUnloadedYCoord.get()) { if (Baritone.settings().simplifyUnloadedYCoord.get()) {
BlockPos pos = null; BlockPos pos = null;
if (goal instanceof IGoalRenderPos) if (goal instanceof IGoalRenderPos) {
pos = ((IGoalRenderPos) goal).getGoalPos(); pos = ((IGoalRenderPos) goal).getGoalPos();
}
// TODO simplify each individual goal in a GoalComposite // TODO simplify each individual goal in a GoalComposite
if (pos != null && world().getChunk(pos) instanceof EmptyChunk) { if (pos != null && world().getChunk(pos) instanceof EmptyChunk) {