diff --git a/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt b/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt index 3d4f16f..ef18d32 100644 --- a/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt +++ b/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt @@ -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