From 18474d872c652a9d61c7ee1159811f2bcd1eebb3 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 26 May 2019 12:14:08 -0700 Subject: [PATCH] unused --- src/main/java/baritone/process/BuilderProcess.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/baritone/process/BuilderProcess.java b/src/main/java/baritone/process/BuilderProcess.java index 27c1f885..6c921f8e 100644 --- a/src/main/java/baritone/process/BuilderProcess.java +++ b/src/main/java/baritone/process/BuilderProcess.java @@ -359,7 +359,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil logDirect("Repeating build in vector " + repeat + ", new origin is " + origin); return onTick(calcFailed, isSafeToCancel); } - trim(bcc); + trim(); Optional> toBreak = toBreakNearPlayer(bcc); if (toBreak.isPresent() && isSafeToCancel && ctx.player().onGround) { @@ -447,7 +447,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil return !incorrectPositions.isEmpty(); } - private void trim(BuilderCalculationContext bcc) { + private void trim() { HashSet copy = new HashSet<>(incorrectPositions); copy.removeIf(pos -> pos.distanceSq(ctx.player().posX, ctx.player().posY, ctx.player().posZ) > 200); if (!copy.isEmpty()) {