mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 21:54:24 +02:00
fix: reformat (trigger release)
This commit is contained in:
parent
5a96f2d99f
commit
bf4894592b
@ -19,7 +19,11 @@ object PatchLoader {
|
|||||||
val entry = entries.nextElement()
|
val entry = entries.nextElement()
|
||||||
if (!entry.name.endsWith(".class") || entry.name.contains("$")) continue
|
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
|
if (!clazz.isAnnotationPresent(app.revanced.patcher.patch.annotations.Patch::class.java)) continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user