main thread bsi creation doesn't need to copy loaded chunks

This commit is contained in:
Leijurv
2018-11-25 22:30:37 -08:00
parent 2ba0e6ada6
commit f9a3a3b78b
6 changed files with 21 additions and 8 deletions
@@ -208,7 +208,7 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
logDirect("No goal.");
} else {
logDirect("Started segmented calculator");
SegmentedCalculator.calculateSegmentsThreaded(pathingBehavior.pathStart(), pathingBehavior.getGoal(), new CalculationContext(baritone), ipath -> {
SegmentedCalculator.calculateSegmentsThreaded(pathingBehavior.pathStart(), pathingBehavior.getGoal(), new CalculationContext(baritone, true), ipath -> {
logDirect("Found a path");
logDirect("Ends at " + ipath.getDest());
logDirect("Length " + ipath.length());