mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-19 17:33:56 +00:00
fix: null check causing an exception
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user