File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/main/java/zgoly/meteorist/modules Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ public class ItemSucker extends Module {
136
136
.visible (() -> moveMode .get () == MoveMode .Baritone && modifySpeed .get ())
137
137
.build ()
138
138
);
139
+
139
140
int timer = 0 ;
140
141
Vec3d startPos = null ;
141
142
MeteoristBaritoneUtils baritoneUtils = new MeteoristBaritoneUtils ();
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ private void renderTick(Render3DEvent event) {
164
164
private float calculateFov (LivingEntity player , Entity target ) {
165
165
Vec3d lookDirection = player .getRotationVec (1.0F );
166
166
Vec3d targetDirection = target .getPos ().subtract (player .getPos ()).normalize ();
167
+
167
168
return (float ) Math .toDegrees (Math .acos (lookDirection .dotProduct (targetDirection )));
168
169
}
169
170
You can’t perform that action at this time.
0 commit comments