mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-19 09:23:56 +00: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