Skip to content

Commit

Permalink
fix: reformat (trigger release)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas committed May 24, 2022
1 parent 699d8ab commit 45a167e
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -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

Expand Down

0 comments on commit 45a167e

Please sign in to comment.