Skip to content

Commit

Permalink
πŸ› Fixed camera not working in helicopter
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCrayfish committed Jul 3, 2022
1 parent ae8a66d commit edf5d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/mrcrayfish/vehicle/client/CameraHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ private void setVehicleRotation(ActiveRenderInfo info, VehicleEntity vehicle, Cl
else
{
quaternion.mul(Vector3f.YP.rotationDegrees(-player.getViewYRot(partialTicks)));
/*if(Config.CLIENT.shouldFollowYaw.get())
if(Config.CLIENT.shouldFollowYaw.get())
{
quaternion.mul(Vector3f.YP.rotationDegrees(this.getYaw(partialTicks)));
}*/
quaternion.mul(Vector3f.YP.rotationDegrees(vehicle.getViewYaw(partialTicks)));
}
}

if(Config.CLIENT.shouldFollowPitch.get())
Expand Down

0 comments on commit edf5d13

Please sign in to comment.