mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-06-12 21:27:42 +02:00
fix: adding existing classes to the patchers cache
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user