mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
fix: reformat (trigger release)
This commit is contained in:
parent
5a96f2d99f
commit
bf4894592b
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,11 @@ object PatchLoader {
|
|||
val entry = entries.nextElement()
|
||||
if (!entry.name.endsWith(".class") || entry.name.contains("$")) continue
|
||||
|
||||
val clazz = classLoader.loadClass(entry.name.replace('/', '.').replace(".class", ""))
|
||||
val clazz = classLoader.loadClass(
|
||||
entry.name
|
||||
.replace('/', '.')
|
||||
.replace(".class", "")
|
||||
)
|
||||
|
||||
if (!clazz.isAnnotationPresent(app.revanced.patcher.patch.annotations.Patch::class.java)) continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue