diff --git a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt index 4ebd462b..85eec705 100644 --- a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt @@ -220,7 +220,7 @@ internal object MainCommand : Runnable { for (patchBundlePath in args.patchArgs?.patchBundles!!) for (patch in PatchBundle.Jar(patchBundlePath) .loadPatches()) { if (patch.patchName in logged) continue - for (compatiblePackage in patch.compatiblePackages!!) { + for (compatiblePackage in patch.compatiblePackages ?: continue) { val packageEntryStr = buildString { // Add package if flag is set if (args.patchArgs?.listingArgs?.withPackages == true) {