File tree 1 file changed +11
-6
lines changed
src/main/java/meteordevelopment/meteorclient/systems/modules/render
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -144,15 +144,20 @@ public void onActivate() {
144
144
Utils .set (pos , mc .gameRenderer .getCamera ().getPos ());
145
145
Utils .set (prevPos , mc .gameRenderer .getCamera ().getPos ());
146
146
147
+ if (mc .options .getPerspective () == Perspective .THIRD_PERSON_FRONT ) {
148
+ yaw += 180 ;
149
+ pitch *= -1 ;
150
+ }
151
+
147
152
prevYaw = yaw ;
148
153
prevPitch = pitch ;
149
154
150
- forward = false ;
151
- backward = false ;
152
- right = false ;
153
- left = false ;
154
- up = false ;
155
- down = false ;
155
+ forward = mc . options . forwardKey . isPressed () ;
156
+ backward = mc . options . backKey . isPressed () ;
157
+ right = mc . options . rightKey . isPressed () ;
158
+ left = mc . options . leftKey . isPressed () ;
159
+ up = mc . options . jumpKey . isPressed () ;
160
+ down = mc . options . sneakKey . isPressed () ;
156
161
157
162
unpress ();
158
163
if (reloadChunks .get ()) mc .worldRenderer .reload ();
You can’t perform that action at this time.
0 commit comments