mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-08 08:04:25 +02:00
fix: null check causing an exception
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
c55c62a57e
commit
338bd9f739
@ -16,8 +16,6 @@ internal class SignatureResolver(
|
|||||||
fun resolve() {
|
fun resolve() {
|
||||||
for ((index, classDef) in classes.withIndex()) {
|
for ((index, classDef) in classes.withIndex()) {
|
||||||
for (signature in methodSignatures) {
|
for (signature in methodSignatures) {
|
||||||
if (signature.result != null) continue
|
|
||||||
|
|
||||||
for (method in classDef.methods) {
|
for (method in classDef.methods) {
|
||||||
val patternScanData = compareSignatureToMethod(signature, method) ?: continue
|
val patternScanData = compareSignatureToMethod(signature, method) ?: continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user