mirror of
https://github.com/revanced/revanced-patcher
synced 2024-11-20 16:19:21 +01:00
fix: Match fingerprint before delegating the match property
This commit is contained in:
parent
49f4570164
commit
5d996def4d
@ -80,7 +80,7 @@ class BytecodePatchContext internal constructor(private val config: PatcherConfi
|
||||
*
|
||||
* @throws IllegalStateException If the [Fingerprint] has not been matched.
|
||||
*/
|
||||
operator fun Fingerprint.getValue(nothing: Nothing?, property: KProperty<*>): Match = _match
|
||||
operator fun Fingerprint.getValue(nothing: Nothing?, property: KProperty<*>): Match = match
|
||||
?: throw PatchException("No fingerprint match to delegate to \"${property.name}\".")
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user