Skip to content

Commit

Permalink
fix: reformat (trigger release)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas authored and oSumAtrIX committed Jun 5, 2022
1 parent 5a96f2d commit bf48945
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
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 bf48945

Please sign in to comment.