mirror of
https://github.com/revanced/revanced-patcher
synced 2025-02-17 22:21:25 +01:00
fix: adding existing classes to the patchers cache
This commit is contained in:
parent
b892729332
commit
9659a61c5c
@ -48,6 +48,8 @@ class Patcher(
|
||||
// TODO: Use logger and warn about duplicate classes
|
||||
if (throwOnDuplicates)
|
||||
throw Exception("Class ${classDef.type} has already been added to the patcher.")
|
||||
|
||||
continue
|
||||
}
|
||||
cache.classes.add(classDef)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user