From 68874751daa799300fb2b674babc067fb52e7c1b Mon Sep 17 00:00:00 2001 From: Howard Stark Date: Sun, 5 Aug 2018 19:23:51 -0400 Subject: [PATCH] Remove misleading LookBehaviorUtil method --- src/main/java/baritone/bot/behavior/impl/LookBehavior.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/baritone/bot/behavior/impl/LookBehavior.java b/src/main/java/baritone/bot/behavior/impl/LookBehavior.java index 175d01d5..89733c95 100644 --- a/src/main/java/baritone/bot/behavior/impl/LookBehavior.java +++ b/src/main/java/baritone/bot/behavior/impl/LookBehavior.java @@ -23,11 +23,6 @@ public class LookBehavior extends Behavior { */ private Optional> target = Optional.empty(); - public void updateTarget(BlockPos blockPos) { - Utils.calcRotationFromVec3d(player().getPositionEyes(1.0F), - Utils.calcCenterFromCoords(blockPos, world())); - } - public void updateTarget(Tuple target) { this.target = Optional.of(target); }