Skip to content

Commit 5d996de

Browse files
committed
fix: Match fingerprint before delegating the match property
1 parent 49f4570 commit 5d996de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/app/revanced/patcher/patch/BytecodePatchContext.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class BytecodePatchContext internal constructor(private val config: PatcherConfi
8080
*
8181
* @throws IllegalStateException If the [Fingerprint] has not been matched.
8282
*/
83-
operator fun Fingerprint.getValue(nothing: Nothing?, property: KProperty<*>): Match = _match
83+
operator fun Fingerprint.getValue(nothing: Nothing?, property: KProperty<*>): Match = match
8484
?: throw PatchException("No fingerprint match to delegate to \"${property.name}\".")
8585

8686
/**

0 commit comments

Comments
 (0)