diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/videoid/general/patch/VideoIdPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/videoid/general/patch/VideoIdPatch.kt index 8b562b988..758c9b9e0 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/videoid/general/patch/VideoIdPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/videoid/general/patch/VideoIdPatch.kt @@ -76,11 +76,6 @@ class VideoIdPatch : BytecodePatch( } ?: return SeekFingerprint.toErrorResult() } ?: return PlayerInitFingerprint.toErrorResult() - /** - * Hook the methods which set the time - */ - videoTimeHook(INTEGRATIONS_CLASS_DESCRIPTOR, "setVideoTime") - /** * Set current video time */ @@ -90,6 +85,11 @@ class VideoIdPatch : BytecodePatch( .getMethod() as MutableMethod } ?: return PlayerControllerSetTimeReferenceFingerprint.toErrorResult() + /** + * Hook the methods which set the time + */ + videoTimeHook(INTEGRATIONS_CLASS_DESCRIPTOR, "setVideoTime") + /** * Set current video length */