just one is not good enough tbh

This commit is contained in:
Leijurv
2019-04-19 21:02:58 -07:00
parent 2fcf9ace64
commit af0c3bbd5c
2 changed files with 7 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ public class ExploreProcess extends BaritoneProcessHelper implements IExplorePro
centers.add(new BlockPos(offsetCenterX, 0, offsetCenterZ));
}
}
if (!centers.isEmpty()) {
if (centers.size() > Baritone.settings().exploreChunkSetMinimumSize.value) {
return centers.stream().map(pos -> new GoalXZ(pos.getX(), pos.getZ())).toArray(Goal[]::new);
}
}