Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
Wide-Cat committed Jan 3, 2025
1 parent aa5c19c commit d9f8313
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import meteordevelopment.meteorclient.MeteorClient;
import meteordevelopment.meteorclient.events.meteor.KeyEvent;
import meteordevelopment.meteorclient.events.meteor.MouseButtonEvent;
import meteordevelopment.meteorclient.events.meteor.MouseScrollEvent;
import meteordevelopment.meteorclient.events.render.GetFovEvent;
import meteordevelopment.meteorclient.events.render.Render3DEvent;
Expand Down Expand Up @@ -164,7 +163,7 @@ private void onRender3D(Render3DEvent event) {

@EventHandler
private void onGetFov(GetFovEvent event) {
event.fov /= getScaling();
event.fov /= (float) getScaling();

if (lastFov != event.fov) mc.worldRenderer.scheduleTerrainUpdate();
lastFov = event.fov;
Expand Down

0 comments on commit d9f8313

Please sign in to comment.