diff --git a/src/main/kotlin/app/revanced/patcher/PatchBundleLoader.kt b/src/main/kotlin/app/revanced/patcher/PatchBundleLoader.kt index a2eb142..08de7dd 100644 --- a/src/main/kotlin/app/revanced/patcher/PatchBundleLoader.kt +++ b/src/main/kotlin/app/revanced/patcher/PatchBundleLoader.kt @@ -103,7 +103,7 @@ sealed class PatchBundleLoader private constructor( patchBundles, { patchBundle -> JarFile(patchBundle).entries().toList().filter { it.name.endsWith(".class") } - .map { it.name.replace('/', '.').replace(".class", "") } + .map { it.name.substringBeforeLast('.').replace('/', '.') } }, )