mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-18 08:53:57 +00:00
fix: reformat (trigger release)
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user