fix: reformat (trigger release)

This commit is contained in:
Lucaskyy 2022-05-24 20:11:04 +02:00 committed by oSumAtrIX
parent 5a96f2d99f
commit bf4894592b
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -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