diff --git a/src/main/kotlin/app/revanced/patches/music/audio/exclusiveaudio/patch/ExclusiveAudioPatch.kt b/src/main/kotlin/app/revanced/patches/music/audio/exclusiveaudio/patch/ExclusiveAudioPatch.kt index f2f204c6..23efa95b 100644 --- a/src/main/kotlin/app/revanced/patches/music/audio/exclusiveaudio/patch/ExclusiveAudioPatch.kt +++ b/src/main/kotlin/app/revanced/patches/music/audio/exclusiveaudio/patch/ExclusiveAudioPatch.kt @@ -26,9 +26,7 @@ class ExclusiveAudioPatch : BytecodePatch( ) ) { override fun execute(data: BytecodeData): PatchResult { - ExclusiveAudioFingerprint.resolve(data, AudioOnlyEnablerFingerprint.result!!.classDef) - - val method = ExclusiveAudioFingerprint.result!!.mutableMethod + val method = AudioOnlyEnablerFingerprint.result!!.mutableMethod method.replaceInstruction(method.implementation!!.instructions.count() - 1, "const/4 v0, 0x1") method.addInstruction("return v0")