mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-11 05:46:16 +00:00
feat: remove unused extension dependsOn
BREAKING CHANGE: The extension does not exist anymore and any use should be removed
This commit is contained in:
@@ -58,12 +58,6 @@ object PatchExtensions {
|
||||
if (cl == Patch::class) null else cl
|
||||
}
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun Class<out Patch<Data>>.dependsOn(patch: Class<out Patch<Data>>): Boolean {
|
||||
if (this.patchName == patch.patchName) throw IllegalArgumentException("thisval and patch may not be the same")
|
||||
return this.dependencies?.any { it.java.patchName == this@dependsOn.patchName } == true
|
||||
}
|
||||
}
|
||||
|
||||
object MethodFingerprintExtensions {
|
||||
|
||||
Reference in New Issue
Block a user