mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 21:54:24 +02: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