diff --git a/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt b/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt index 320b24c..9c06372 100644 --- a/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt +++ b/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt @@ -41,7 +41,7 @@ private fun Class<*>.findAnnotationRecursively( object PatchExtensions { val Class>.patchName: String - get() = findAnnotationRecursively(Name::class)?.name ?: this.javaClass.simpleName + get() = findAnnotationRecursively(Name::class)?.name ?: this.simpleName val Class>.version get() = findAnnotationRecursively(Version::class)?.version