mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
fix: adding existing classes to the patchers cache
This commit is contained in:
parent
b892729332
commit
9659a61c5c
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue